mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-12-23 15:24:59 -07:00
Fix logfile creation.
Former-commit-id: 936baa0015c0426c69069668f4ca8f8e75195865 Former-commit-id: e36d4e7df0a95d3fd894a88a65de9d0d20ef923b
This commit is contained in:
parent
a2db22a75d
commit
9df374e8d6
1 changed files with 2 additions and 4 deletions
6
runme.sh
6
runme.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue