Allow for true error reporing.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 12 Dec 2011 07:56:45 +0000 (07:56 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 12 Dec 2011 07:56:45 +0000 (07:56 +0000)
Move the comment to where it's intended.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40158 f5534014-38df-0310-8fa8-9805f1628bb7

tools/win-setup.sh

index 16d7d18e9c1ba33895f4f12a098c910b0129e24c..cd0520a3aceb48bc8227c7dbeffd3949ce5130bb 100755 (executable)
@@ -4,13 +4,16 @@
 #
 # $Id$
 
-# This MUST be in the form
-#   http://anonsvn.wireshark.org/wireshark-win32-libs/tags/<date>/packages
-# or
-#   http://anonsvn.wireshark.org/wireshark-win64-libs/tags/<date>/packages
-# in order to provide backward compatibility with older trees (e.g. a
-# previous release or an older SVN checkout).
-# Save previous tag.
+err_exit () {
+       echo ""
+       echo "ERROR: $1"
+       shift
+       for str in "$@" ; do
+               echo "$str"
+       done
+       echo ""
+       exit 1
+}
 
 if [ -z "$DOWNLOAD_TAG" ]; then
        err_exit "DOWNLOAD_TAG not defined (internal error)"
@@ -20,23 +23,20 @@ if [ -z "$WIRESHARK_TARGET_PLATFORM" ]; then
        err_exit "WIRESHARK_TARGET_PLATFORM not defined (internal error)"
 fi
 
+# This MUST be in the form
+#   http://anonsvn.wireshark.org/wireshark-win32-libs/tags/<date>/packages
+# or
+#   http://anonsvn.wireshark.org/wireshark-win64-libs/tags/<date>/packages
+# in order to provide backward compatibility with older trees (e.g. a
+# previous release or an older SVN checkout).
+# Save previous tag.
+
 # Set DOWNLOAD_PREFIX to /packages to test uploads before creating the tag.
 #DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-$WIRESHARK_TARGET_PLATFORM-libs/trunk/packages/"
 DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-$WIRESHARK_TARGET_PLATFORM-libs/tags/$DOWNLOAD_TAG/packages/"
 
 TAG_FILE="current_tag.txt"
 
-err_exit () {
-       echo ""
-       echo "ERROR: $1"
-       shift
-       for str in "$@" ; do
-               echo "$str"
-       done
-       echo ""
-       exit 1
-}
-
 usage () {
        echo "Usage:"
        echo "  $0 --appverify <appname> [<appname>] ..."