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

Suljettu
8 vuotta sitten avasi zPlus · 1 kommenttia
zPlus kommentoitu 8 vuotta sitten

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 kommentoitu 8 vuotta sitten
Omistaja

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!
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei tunnistetta
Ei merkkipaalua
Ei osoitettua
2 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.