What if cd fails
This commit is contained in:
parent
a4cfc87577
commit
34e4f49648
1 changed files with 1 additions and 1 deletions
2
dist/setup-x48ng-home.sh
vendored
2
dist/setup-x48ng-home.sh
vendored
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
cd "$(dirname "$0")" ; CWD=$(pwd)
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
|
CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
|
||||||
DOTX48NG=${DOTX48NG:-$CONFIG_HOME/x48ng}
|
DOTX48NG=${DOTX48NG:-$CONFIG_HOME/x48ng}
|
||||||
|
|
Loading…
Reference in a new issue