From 4bdf98913082801f4df56163daa4fd109d701dff Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 24 Jul 2006 15:02:05 +0100 Subject: [PATCH] Apply fixes to correct script this time. --- skel/scripts/module-rename.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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