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

Zavřený
otevřeno před 8 roky uživatelem zPlus · 1 komentářů
zPlus okomentoval před 8 roky

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 okomentoval před 8 roky
Vlastník

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!
Přihlaste se pro zapojení do konverzace.
Bez štítku
Bez milníku
Bez zpracovatele
2 účastníků
Načítání...
Zrušit
Uložit
Není zde žádný obsah.