mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-21 17:40:57 -07:00
Fix logfile creation.
Former-commit-id: 936baa0015c0426c69069668f4ca8f8e75195865 Former-commit-id: e36d4e7df0a95d3fd894a88a65de9d0d20ef923b
This commit is contained in:
parent
5cae246663
commit
0136ca84a0
1 changed files with 2 additions and 4 deletions
6
runme.sh
6
runme.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue