aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2007-11-30 02:39:33 +0000
committerBill Meier <wmeier@newsguy.com>2007-11-30 02:39:33 +0000
commitcffb5158abad73adc6fb076581fa4d7349883702 (patch)
tree6494a94a0a0a02fa004d26a31de35dfc93fa71f0 /tools
parent36f0b417ea9cdce0346eca637b773a812e9da8d4 (diff)
Fix (really) so all dlls and exes found to set exec bit
svn path=/trunk/; revision=23677
Diffstat (limited to 'tools')
-rwxr-xr-xtools/win32-setup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/win32-setup.sh b/tools/win32-setup.sh
index b4777b7f6c..f6c73c91aa 100755
--- a/tools/win32-setup.sh
+++ b/tools/win32-setup.sh
@@ -13,6 +13,8 @@ DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2007-11-
# Set DOWNLOAD_PREFIX to /packages to test uploads before creating the tag.
#DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/trunk/packages/"
+set -x
+
err_exit () {
echo ""
echo "ERROR: $1"
@@ -102,7 +104,7 @@ case "$1" in
# XX: Note that find will check *all* dlls/exes in DEST_SUBDIR and below
# which may be more than those just unzipped depending upon DEST_SUBDIR.
# This may cause extra repeated checks but will do no harm.
- for i in `/usr/bin/find . \( -name *\.dll -o -name *\.exe \)` ; do
+ for i in `/usr/bin/find . \( -name '*\.dll' -o -name '*\.exe' \)` ; do
if [ ! -x "$i" ] ; then
echo "Changing file permissions (add executable bit) to:"
echo "$i"