What if cd fails

This commit is contained in:
Gwenhael Le Moine 2024-08-29 11:17:22 +02:00
parent a4cfc87577
commit 34e4f49648
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh
cd "$(dirname "$0")" ; CWD=$(pwd)
cd "$(dirname "$0")" || exit 1
CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
DOTX48NG=${DOTX48NG:-$CONFIG_HOME/x48ng}