#2 cp: cannot stat ‘examplelist’: No such file or directory

Kapalı
zPlus tarafından 8 yıl önce kere açıldı · 1 yorum
zPlus 8 yıl önce olarak yorumlandı

This happens if

  1. I download your script into some directory D
  2. copy cliradio into /usr/local/bin/
  3. ~/.radiolist doesn't exist and I execute /usr/local/bin/cliradio outside of D
This happens if 1. I download your script into some directory D 2. copy `cliradio` into `/usr/local/bin/` 3. `~/.radiolist` doesn't exist and I execute `/usr/local/bin/cliradio` outside of D
kzimmermann 8 yıl önce olarak yorumlandı
Sahibi

Hi thanks for pointing this out!

I more or less "solved" this by making the script itself create the file (with the same contents as examplelist) instead of copying. This should make it more position-independent.

Let me know about anything else you find!

Hi thanks for pointing this out! I more or less "solved" this by making the script itself create the file (with the same contents as `examplelist`) instead of copying. This should make it more position-independent. Let me know about anything else you find!
Giriş yap bu konuşmaya katılmak için.
Etiket Yok
Kilometre Taşı Yok
Atanan Kişi Yok
2 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.