diff options
author | dteske <dteske@FreeBSD.org> | 2015-11-02 21:58:19 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2015-11-02 21:58:19 +0000 |
commit | faa618ac7fcc1f522920c77b1590673dd5ec5cef (patch) | |
tree | 78239c7c5a6617e732cd4be22e1dab5e1387c79b /release/i386 | |
parent | 1e61126a7687bb63c6568ee626b07dca02e6450e (diff) | |
download | FreeBSD-src-faa618ac7fcc1f522920c77b1590673dd5ec5cef.zip FreeBSD-src-faa618ac7fcc1f522920c77b1590673dd5ec5cef.tar.gz |
MFC r287635: Fix argument quoting and remove unnecessary braces
Diffstat (limited to 'release/i386')
-rw-r--r-- | release/i386/mkisoimages.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/i386/mkisoimages.sh b/release/i386/mkisoimages.sh index e4093d7..a250105 100644 --- a/release/i386/mkisoimages.sh +++ b/release/i386/mkisoimages.sh @@ -32,14 +32,14 @@ else fi if [ $# -lt 3 ]; then - echo Usage: $0 '[-b] image-label image-name base-bits-dir [extra-bits-dir]' + echo "Usage: $0 [-b] image-label image-name base-bits-dir [extra-bits-dir]" exit 1 fi -LABEL=`echo $1 | tr '[:lower:]' '[:upper:]'`; shift -NAME=$1; shift +LABEL=`echo "$1" | tr '[:lower:]' '[:upper:]'`; shift +NAME="$1"; shift publisher="The FreeBSD Project. http://www.FreeBSD.org/" -echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $1/etc/fstab -makefs -t cd9660 $bootable -o rockridge -o label=$LABEL -o publisher="$publisher" $NAME $* -rm $1/etc/fstab +echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > "$1/etc/fstab" +makefs -t cd9660 $bootable -o rockridge -o label="$LABEL" -o publisher="$publisher" "$NAME" "$@" +rm "$1/etc/fstab" |