summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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