* vfs/extfs/audio.in (audiofs_copyout): Quote the track name.

* vfs/extfs/bpp (mcbppfs_list): Quote the package file name.
* vfs/extfs/uzoo.in (mklink): Quote MC_TMPDIR.
This commit is contained in:
Pavel Tsekov 2006-07-25 20:22:59 +00:00
parent ec98ac4cf7
commit e7d571c9d6
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2006-07-25 Denis Vlasenko <vda.linux@googlemail.com>
* extfs/audio.in (audiofs_copyout): Quote the track name.
* extfs/bpp (mcbppfs_list): Quote the package file name.
* extfs/uzoo.in (mklink): Quote MC_TMPDIR.
2006-07-19 Egmont Koblinger <egmont@uhulinux.hu>
* extfs/iso9660.in (test_iso): Use `locale charmap' to retrieve

View File

@ -35,7 +35,7 @@ audiofs_copyout()
wget -q -T $CDDB_TIMEOUT -O - "$CDDB_SERVER/~cddb/cddb.cgi?cmd=cddb+read+$RESPONSE&$CDDB_HANDSHAKE" | grep -v "^#" >> "$3"
else
TRACK=`echo "$2" | sed 's/track-0*//' | sed 's/\.wav//'`
cdparanoia -q -d "$1" $TRACK "$3" >/dev/null
cdparanoia -q -d "$1" "$TRACK" "$3" >/dev/null
fi
}

View File

@ -17,7 +17,7 @@ mcbppfs_list ()
FILEPREF="-r--r--r-- 1 root root "
FIEXPREF="-r-xr-xr-x 1 root root "
DATE=`date +"%b %d %H:%M"`
set x `ls -l $1`
set x `ls -l "$1"`
size=$6
echo "$FILEPREF $size $DATE CONTENTS.tar.gz"
echo "$FIEXPREF 35 $DATE INSTALL"

View File

@ -14,10 +14,10 @@ ZOO=zoo
mklink ()
{
TMPDIR=`mktemp -d ${MC_TMPDIR:-/tmp}/mctmpdir-uzoo.XXXXXX` || exit 1
trap 'cd /; rm -rf $TMPDIR' 0 1 2 3 5 13 15
ARCHIVE=$TMPDIR/tmp.zoo
trap 'cd /; rm -rf "$TMPDIR"' 0 1 2 3 5 13 15
ARCHIVE="$TMPDIR/tmp.zoo"
ln -sf "$1" "$ARCHIVE"
cd $TMPDIR || exit 1
cd "$TMPDIR" || exit 1
}
mczoofs_list ()