getsounds.sh: style tweaks
This commit is contained in:
parent
9a2b82dace
commit
59d08bd033
|
@ -31,14 +31,14 @@ fi
|
||||||
if [ ! -f $DIR/$tarfile ]; then
|
if [ ! -f $DIR/$tarfile ]; then
|
||||||
(cd $DIR && $DOWNLOAD_CMD $base$tarfile)
|
(cd $DIR && $DOWNLOAD_CMD $base$tarfile)
|
||||||
if [ ! -f $DIR/$tarfile ]; then
|
if [ ! -f $DIR/$tarfile ]; then
|
||||||
echo cannot find $tarfile
|
echo "cannot find $tarfile"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z $install ] ; then
|
if [ ! -z "$install" ]; then
|
||||||
test -d $install || mkdir $install
|
test -d $install || mkdir $install
|
||||||
cd $install && $ZCAT -c -d $DIR/$tarfile | $TAR xf -
|
(cd $install && $ZCAT -c -d $DIR/$tarfile | $TAR xf -)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue