#1776 do shift only with at least one argument

This commit is contained in:
tomash 2006-09-07 01:20:00 +00:00
parent 5e3e9da39f
commit e1ea881649

View file

@ -30,9 +30,11 @@
#DEBUG=yes
#DEBUG_I=yes
if [ "x$1" != "x" ]; then
COMM=$1
shift
GUNID=$1
fi
METADATA="<?xml version=\"1.0\"?>
<audioClip>