remove the existing zip archive first

pull/5/head
Tomas M 2012-11-08 04:20:48 -09:00
parent 04ef28f14d
commit 27d113905f
1 changed files with 1 additions and 0 deletions

1
build
View File

@ -68,6 +68,7 @@ mkisofs -o "$TARGET/$LIVEKITNAME-$ARCH.iso" -v -J -R -D -A "$LIVEKITNAME" -V "$L
cat "$CWD/bootinfo.txt" | fgrep -v "#" | sed -r "s/mylinux/$LIVEKITNAME/" | sed -r "s/\$/ /" > readme.txt
echo "Creating ZIP for USB boot..."
rm "$TARGET/$LIVEKITNAME-$ARCH.zip"
zip -0 -r "$TARGET/$LIVEKITNAME-$ARCH.zip" *
cd ..