aboutsummaryrefslogtreecommitdiffstats
path: root/tools/win32-setup.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-03-07 01:06:40 +0000
committerGerald Combs <gerald@wireshark.org>2009-03-07 01:06:40 +0000
commit8f69ddeb0090f0dd143875d7b3697954923f93da (patch)
tree9468d4d4a2f95814ab4a3bc8eae2281e7b9a577e /tools/win32-setup.sh
parentb43af91fe08a16b66d841668059dd597345b12f0 (diff)
Add preliminary support for Win64 compilation. Attempt to use the same
set of makefiles and scripts for each platform as much as possible. svn path=/trunk/; revision=27633
Diffstat (limited to 'tools/win32-setup.sh')
-rwxr-xr-xtools/win32-setup.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/win32-setup.sh b/tools/win32-setup.sh
index d03efc52f4..b25bc1a980 100755
--- a/tools/win32-setup.sh
+++ b/tools/win32-setup.sh
@@ -4,11 +4,16 @@
# 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.
-DOWNLOAD_TAG="2009-02-09"
-DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/tags/$DOWNLOAD_TAG/packages/"
+DOWNLOAD_TAG=${DOWNLOAD_TAG:-"2009-02-09"}
+PLATFORM=${PLATFORM:-"win32"}
+
+DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-$PLATFORM-libs/tags/$DOWNLOAD_TAG/packages/"
+
TAG_FILE="current_tag.txt"
# Set DOWNLOAD_PREFIX to /packages to test uploads before creating the tag.