summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-12-28 16:20:49 +0000
committerJonas Smedegaard <dr@jones.dk>2002-12-28 16:20:49 +0000
commit3258357eb442590d32967e788ff84efbb6f3c231 (patch)
tree8b5a07e418398623f02217803265bc2dd28182b3
parentf5fe5e48d3e6e3baf7a027c96a376c4bfee523b0 (diff)
Echo actual directories, not the variable name.
-rwxr-xr-xdeb-update.sh8
1 files changed, 2 insertions, 6 deletions
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