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 5cae246663
commit 0136ca84a0

View file

@ -83,9 +83,8 @@ Kali)
fi fi
cd build/live-build-config 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 images/*.iso ../../images/$IMAGENAME.iso
cp build.log ../../logs/$IMAGENAME.log
;; ;;
Parrot) Parrot)
IMAGENAME=parrotsec-$DESKTOP-$(date -I)-$(date +%H%M) IMAGENAME=parrotsec-$DESKTOP-$(date -I)-$(date +%H%M)
@ -103,9 +102,8 @@ Parrot)
fi fi
cd build/parrot-build 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 ../*.iso ../../images/$IMAGENAME.iso
cp logfile.log ../../logs/$IMAGENAME.log
;; ;;
esac esac