projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7c699
)
[project @ 2003-01-09 15:49:25 by simonmar]
author
simonmar
<unknown>
Thu, 9 Jan 2003 15:49:25 +0000
(15:49 +0000)
committer
simonmar
<unknown>
Thu, 9 Jan 2003 15:49:25 +0000
(15:49 +0000)
small fix: 'if ($x)' is not the same as 'if ($x ne "")'
glafp-utils/runstdtest/runstdtest.prl
patch
|
blob
|
history
diff --git
a/glafp-utils/runstdtest/runstdtest.prl
b/glafp-utils/runstdtest/runstdtest.prl
index
26ba0cb
..
e6a3534
100644
(file)
--- a/
glafp-utils/runstdtest/runstdtest.prl
+++ b/
glafp-utils/runstdtest/runstdtest.prl
@@
-305,7
+305,7
@@
exit 0;
sub grab_arg_arg {
local($option, $rest_of_arg) = @_;
- if ($rest_of_arg) {
+ if ($rest_of_arg ne "") {
return($rest_of_arg);
} elsif ($#ARGV >= 0) {
local($temp) = $ARGV[0]; shift(@ARGV);