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

Затворени
отворен преди 8 години от zPlus · 1 коментара
zPlus коментира преди 8 години

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 години
Притежател

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!
Впишете се за да се присъедините към разговора.
Няма етикет
Няма етап
Няма изпълнител
2 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.