diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-01-21 18:40:49 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-01-22 02:41:21 +0000 |
commit | b7db12eef336847527c2501e672f43bea97f4a78 (patch) | |
tree | d88b26fbd4ce9a493a8e277370225d2927d73a7d /macosx-setup.sh | |
parent | 64108f4b2c05f92f314af7387431b34b437e9d67 (diff) |
Do tests in the order the comment before them implies.
Change-Id: Ie82ce54915866bdf635da832dd2f4c4ae1f2937e
Reviewed-on: https://code.wireshark.org/review/6732
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index b1187822fb..e4e196eb61 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -1358,7 +1358,7 @@ then # an unversioned -done file for it, assume the installed version is the # requested version, and rename the -done file to include that version. # - if [ -f portaudio-done -a -z "$installed_portaudio_version" ] ; then + if [ -z "$installed_portaudio_version" -a -f portaudio-done ] ; then mv portaudio-done portaudio-$PORTAUDIO_VERSION-done installed_portaudio_version=`ls portaudio-*-done 2>/dev/null | sed 's/portaudio-\(.*\)-done/\1/'` fi |