Make sure that arch tar file is deleted prior to running tar.
authorChris Hanson <org/chris-hanson/cph>
Tue, 9 Feb 2010 11:34:04 +0000 (03:34 -0800)
committerChris Hanson <org/chris-hanson/cph>
Tue, 9 Feb 2010 11:34:04 +0000 (03:34 -0800)
dist/make-dist-files

index b34d0a1939e4d88a9e48cfc96adfdcc6218a89cb..48cafa941352aad5ef6775915f9744053d997a88 100755 (executable)
@@ -191,6 +191,7 @@ for ARCH in i386 x86-64; do
     if [[ ! -f ${STAMP_TAR} ]]; then
        (
            set -e
+           rm -f "${TARFILE}"
            cd "${IMAGE_LOCAL}"
            tar cvzf "${TL_DIR}"/"${TARFILE}" *
            chmod 444 "${TL_DIR}"/"${TARFILE}"