generate-tarball.sh: quote environment variables.

This commit is contained in:
Tim Waugh 2014-10-07 11:45:41 +01:00
parent 739f5614e6
commit 1074f516e4

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
VERSION=$1 VERSION="$1"
rm -rf ghostscript-$VERSION rm -rf ghostscript-"$VERSION"
tar jxvf ghostscript-$VERSION.tar.bz2 tar jxvf ghostscript-"$VERSION".tar.bz2
rm -r ghostscript-$VERSION/jpegxr rm -r ghostscript-"$VERSION"/jpegxr
tar jcvf ghostscript-$VERSION-cleaned.tar.bz2 ghostscript-$VERSION tar jcvf ghostscript-"$VERSION"-cleaned.tar.bz2 ghostscript-"$VERSION"