diff --git a/stpkg b/stpkg index e03b6da0d2e5d9ab69e5c01fb7790c41948ac61d..130ea68992080eb258f84228b1f2f6e58a3bdac9 100755 --- a/stpkg +++ b/stpkg @@ -328,7 +328,7 @@ if [ "x$1" = "x-install" ]; then [ "x$STPKG_NO_MSG" = "xyes" ] \ && echo "!!! STPKG_NO_MSG is turn on, you won't see what's going on during the install" shift - local REPO_DIR="$(dirname SELF)" + REPO_DIR="$(dirname SELF)" [ ! "$REPO_DIR" = "$BASE_DIR" ] && die "You must run this script from the root of the sticker repo" __install $* exit 0