projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff17a2
)
Work around a bug in dash on Ubuntu by checking the number of arguments before shift...
author
Sean Bright
<sean@malleable.com>
Fri, 26 Mar 2010 16:27:56 +0000
(16:27 +0000)
committer
Sean Bright
<sean@malleable.com>
Fri, 26 Mar 2010 16:27:56 +0000
(16:27 +0000)
Reported and tested by pabelanger.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254976
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
contrib/scripts/live_ast
patch
|
blob
|
history
diff --git
a/contrib/scripts/live_ast
b/contrib/scripts/live_ast
index
1beaef9
..
331f799
100755
(executable)
--- a/
contrib/scripts/live_ast
+++ b/
contrib/scripts/live_ast
@@
-168,7
+168,9
@@
gen_live_conf() {
}
command="$1"
-shift
+if [ $# -gt 0 ]; then
+ shift
+fi
case "$command" in
configure)