diff options
author | Romain Tartière <romain@blogreen.org> | 2009-08-20 11:51:52 +0200 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@gmail.com> | 2009-12-08 12:06:29 +0000 |
commit | 16420a47b70022bfd10512c6bb16f74eab8d1d37 (patch) | |
tree | 0d7a9309592d3f167efbd3c7513b2c0417ec3a6c | |
parent | 2134bb1207e06d1650918a56f6b142e9a840219d (diff) |
Remove bashism in the MCS code path to get the output file name
The shave script use bash(1) extensions but the shee bang is set on
/bin/sh. Since there is a single extension, get rid of it instead of
fixing the shee bang to locate bash and the autohell stuff to run shave
with bash(1).
Partly Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=592587
-rw-r--r-- | shave/shave.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shave/shave.in b/shave/shave.in index 47a0b76..db3fea8 100644 --- a/shave/shave.in +++ b/shave/shave.in @@ -57,7 +57,7 @@ while test "$#" -gt 0; do preserved_args="$preserved_args $opt" ;; -out:*|/out:*) - lt_output="${opt:5}" + lt_output="${opt:=5}" preserved_args="$preserved_args $opt" ;; *) |