minor changes
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 1 May 2004 06:21:07 +0000 (06:21 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 1 May 2004 06:21:07 +0000 (06:21 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10749 f5534014-38df-0310-8fa8-9805f1628bb7

tools/win32-setup.sh

index a5b8ff4fdaccad95c88e07b7ff450e0e380778bc..cae0d24777b4b8ecae8637c0a62adaeeb6351876 100644 (file)
@@ -45,6 +45,7 @@ case "$1" in
        DEST_SUBDIR=$3
        PACKAGE_PATH=$4
        PACKAGE=`basename "$PACKAGE_PATH"`
+       echo "****** $PACKAGE ******"
        if [ -z "$http_proxy" ] ; then
                echo "No HTTP proxy specified (http_proxy is empty)."
                use_proxy="-Y off"
@@ -60,7 +61,7 @@ case "$1" in
        cd "$DEST_PATH" || err_exit "Can't find $DEST_PATH"
        wget $use_proxy -nc "$DOWNLOAD_PREFIX/$PACKAGE_PATH" || \
                err_exit "Can't download $DOWNLOAD_PREFIX/$PACKAGE_PATH"
-       cd $DEST_SUBDIR
+       cd "$DEST_SUBDIR" || err_exit "Can't find $DEST_SUBDIR"
        echo "Extracting $DEST_PATH/$PACKAGE into $DEST_PATH/$DEST_SUBDIR"
        unzip -nq "$DEST_PATH/$PACKAGE" || 
                err_exit "Couldn't unpack $DEST_PATH/$PACKAGE"