Fix logfile creation.

Former-commit-id: 936baa0015c0426c69069668f4ca8f8e75195865
Former-commit-id: e36d4e7df0a95d3fd894a88a65de9d0d20ef923b
This commit is contained in:
Kaj Forney 2019-01-29 13:46:47 -07:00
parent a2db22a75d
commit 9df374e8d6

View file

@ -83,9 +83,8 @@ Kali)
fi
cd build/live-build-config
./build.sh --distribution kali-rolling --variant $DESKTOP --verbose
./build.sh --distribution kali-rolling --variant $DESKTOP --verbose | tee ../../logs/$IMAGENAME.log
cp images/*.iso ../../images/$IMAGENAME.iso
cp build.log ../../logs/$IMAGENAME.log
;;
Parrot)
IMAGENAME=parrotsec-$DESKTOP-$(date -I)-$(date +%H%M)
@ -103,9 +102,8 @@ Parrot)
fi
cd build/parrot-build
./build.sh build variant-$DESKTOP amd64
./build.sh build variant-$DESKTOP amd64 | tee ../../logs/$IMAGENAME.log
cp ../*.iso ../../images/$IMAGENAME.iso
cp logfile.log ../../logs/$IMAGENAME.log
;;
esac