diff --git a/quack.rc b/quack.rc index 990f2ac..be6e788 100644 --- a/quack.rc +++ b/quack.rc @@ -6,7 +6,7 @@ QUACK_ROOT="/NOT/FOUND" QUACK_ROOT=$(dirname $0) ;; *) - QUACK_ROOT=$(dirname ${BASH_SOURCE})[0] + QUACK_ROOT=$(dirname "${BASH_SOURCE[0]}") ;; esac