aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-18 14:45:07 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-18 13:51:37 +0000
commit9fd19ddc09acf0885f907098f4b992ac36c81623 (patch)
tree22ebdd33844437131afcfb9c9074182f712f78c0 /tools
parent1115889c0b5882768d78ad82380067a4e5b2c0cb (diff)
Fix indent (use tabs)
Change-Id: I45f5e2ed64090947f1605db10eb6cee0e33782bf Reviewed-on: https://code.wireshark.org/review/248 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/win-setup.sh32
1 files changed, 16 insertions, 16 deletions
diff --git a/tools/win-setup.sh b/tools/win-setup.sh
index b3389d3728..de5745ba34 100755
--- a/tools/win-setup.sh
+++ b/tools/win-setup.sh
@@ -20,7 +20,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
(set -o igncr) 2>/dev/null && set -o igncr; # hack to force this file to be processed by cygwin bash with -o igncr
- # needed when this file is exec'd from win32-setup.sh & win64-setup.sh
+ # needed when this file is exec'd from win32-setup.sh & win64-setup.sh
err_exit () {
echo ""
@@ -196,21 +196,21 @@ case "$1" in
err_exit "Can't download $DOWNLOAD_PREFIX/$PACKAGE_PATH"
cd "$DEST_SUBDIR" || err_exit "Can't find $DEST_SUBDIR"
echo "Extracting '$PKG_PATH/$PACKAGE' into '$PKG_PATH/$DEST_SUBDIR'"
- if [[ "$PACKAGE" == *.zip ]] ; then
- unzip -oq "$PKG_PATH/$PACKAGE" ||
- err_exit "Couldn't unpack '$PKG_PATH/$PACKAGE'"
- echo "Verifying that the DLLs and EXEs in $DEST_SUBDIR are executable."
- # 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
- if [ ! -x "$i" ] ; then
- echo "Changing file permissions (add executable bit) to:"
- echo "$i"
- chmod a+x "$i"
- fi
- done
- fi
+ if [[ "$PACKAGE" == *.zip ]] ; then
+ unzip -oq "$PKG_PATH/$PACKAGE" ||
+ err_exit "Couldn't unpack '$PKG_PATH/$PACKAGE'"
+ echo "Verifying that the DLLs and EXEs in $DEST_SUBDIR are executable."
+ # 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
+ if [ ! -x "$i" ] ; then
+ echo "Changing file permissions (add executable bit) to:"
+ echo "$i"
+ chmod a+x "$i"
+ fi
+ done
+ fi
;;
--settag)
if [ -z "$2" ] ; then