chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get-kernel: Only move 'linux' out of the way if it exists as a symbolic
[bin.git]
/
expandvars
diff --git
a/expandvars
b/expandvars
index 68f56c8baf9fa6d77a25030e3f86faab5038b7cf..d9d7fd99ae2430216892b79893166542cff28409 100755
(executable)
--- a/
expandvars
+++ b/
expandvars
@@
-53,7
+53,7
@@
while (<CONF>)
last;
}
-usage unless
defined @params && $#params >= 0
;
+usage unless
@params
;
# Eek. This matches the next (optionally double-quoted) string on the line.
my $stringre = qr/\s*("(?:[^\\]|\\.)*?"|(?:[^\\]|\\.)+?)(?:\s|$)/;