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

已關閉
zPlus8 年之前創建 · 1 條評論
zPlus commented 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 commented 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!
Sign in to join this conversation.
未選擇標籤
未選擇里程碑
未指派成員
2 參與者
正在加載...
取消
保存
尚未有任何內容