From 3258357eb442590d32967e788ff84efbb6f3c231 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 28 Dec 2002 16:20:49 +0000 Subject: Echo actual directories, not the variable name. --- deb-update.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'deb-update.sh') diff --git a/deb-update.sh b/deb-update.sh index 55c5d44..a93fe03 100755 --- a/deb-update.sh +++ b/deb-update.sh @@ -24,24 +24,20 @@ for ARCH in $ARCHS; do case $BRANCH in default) DIR="dists/$DIST/$AREA/binary-$ARCH" - ECHODIR="dists/DIST/AREA/binary-ARCH" ;; source) DIR="dists/$DIST/$AREA/source" - ECHODIR="dists/DIST/AREA/source" ;; *-source) DIR="dists/$DIST/$BRANCH/$AREA/source" - ECHODIR="dists/DIST/BRANCH/AREA/source" ;; *) DIR="dists/$DIST/$BRANCH/$AREA/binary-$ARCH" - ECHODIR="dists/DIST/BRANCH/AREA/binary-ARCH" ;; esac echo "Checking directories..." if [ -d $BASE/$DIR ]; then - echo " $ECHODIR looks fine." + echo " $DIR looks fine." else echo "$0: $BASE/$DIR is not a directory" echo @@ -54,7 +50,7 @@ for ARCH in $ARCHS; do echo echo "ARCH is \"i386\" or whatever you have. Default is \"i386\"." echo - echo "The corresponding directory must exist: $BASE/$ECHODIR." + echo "The corresponding directory must exist: $BASE/$DIR." exit 1 fi done -- cgit v1.2.3