diff --git a/prefsCleaner.sh b/prefsCleaner.sh old mode 100644 new mode 100755 index 7db9ef0..24f7154 --- a/prefsCleaner.sh +++ b/prefsCleaner.sh @@ -9,13 +9,13 @@ currdir=$(pwd) ## get the full path of this script (readlink for Linux, greadlink for Mac with coreutils installed) -sfp=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null) +#sfp=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null) ## fallback for Macs without coreutils -if [ -z "$sfp" ]; then sfp=${BASH_SOURCE[0]}; fi +#if [ -z "$sfp" ]; then sfp=${BASH_SOURCE[0]}; fi ## change directory to the Firefox profile directory -cd "$(dirname "${sfp}")" +#cd "$(dirname "${sfp}")" fQuit() { ## change directory back to the original working directory