diff --git a/skel/scripts/module-rename.sh b/skel/scripts/module-rename.sh index 36ca662..340d3a3 100755 --- a/skel/scripts/module-rename.sh +++ b/skel/scripts/module-rename.sh @@ -11,9 +11,10 @@ # Get the directory of the repository (needed to include functions file) -cd "$(dirname $0)" -REPOS=$(dirname "$(pwd)") -source "${REPOS}/scripts/functions.sh" || exit 1 +cd $(dirname $0) +cd $(dirname $(pwd)) +[ -z "${VERBOSE}" ] && VERBOSE="0" +source scripts/functions.sh || exit 1