#1776 do shift only with at least one argument
This commit is contained in:
parent
5e3e9da39f
commit
e1ea881649
|
@ -30,9 +30,11 @@
|
|||
#DEBUG=yes
|
||||
#DEBUG_I=yes
|
||||
|
||||
COMM=$1
|
||||
shift
|
||||
GUNID=$1
|
||||
if [ "x$1" != "x" ]; then
|
||||
COMM=$1
|
||||
shift
|
||||
GUNID=$1
|
||||
fi
|
||||
|
||||
METADATA="<?xml version=\"1.0\"?>
|
||||
<audioClip>
|
||||
|
|
Loading…
Reference in New Issue