getsounds.sh: style tweaks

This commit is contained in:
Travis Cross 2012-04-25 08:05:42 +00:00
parent 9a2b82dace
commit 59d08bd033
1 changed files with 7 additions and 7 deletions

View File

@ -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