diff options
author | Gerald Combs <gerald@wireshark.org> | 2010-08-22 00:41:06 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2010-08-22 00:41:06 +0000 |
commit | 4f5057e21891637c20f459457a5b39a7f058558a (patch) | |
tree | 2dc48501193b9fe2ac596ca9d9327e6d9a4b620a /packaging/portableapps/win32/makenmake.pl | |
parent | a766c88c52693578ac6585ab1fef6d773b895deb (diff) |
Add !ENDIF if needed.
svn path=/trunk/; revision=33880
Diffstat (limited to 'packaging/portableapps/win32/makenmake.pl')
-rwxr-xr-x | packaging/portableapps/win32/makenmake.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/portableapps/win32/makenmake.pl b/packaging/portableapps/win32/makenmake.pl index 49cec6b0f1..f9bb348331 100755 --- a/packaging/portableapps/win32/makenmake.pl +++ b/packaging/portableapps/win32/makenmake.pl @@ -25,6 +25,11 @@ while($line = <>) { if($line =~ /^\#/) { # comment next; } elsif($line =~ /^\[(\S+)/) { # new directory + if(defined $define) { # Clear out any leftover defines. + print "!ENDIF\n"; + undef($define); + } + $dir = $1; $dir =~ s/\$INSTDIR?//; # remove $INSTDIR |