FIX usage of "source" while being executed with sh

master
Hugo Thunnissen 6 years ago
parent 02bfb24330
commit 06a9ec4033

@ -93,7 +93,7 @@ add-custom-startup() {
startup_file
[[ -z $startup_file ]] && startup_file="$HOME/.startup"
printf 'source "%s"\n' "$startup_file" >> "$(config-dir openbox)/autostart.sh"
printf '. "%s"\n' "$startup_file" >> "$(config-dir openbox)/autostart.sh"
}
ppa-has-been-added() {

Loading…
Cancel
Save