chg: Use simpler timestamp

This commit is contained in:
Sayantan Santra 2023-08-05 21:49:08 -05:00
parent 56c20aaf51
commit ae03fe9dce
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -4,7 +4,7 @@
[ "${BKLOCKER}" != "running" ] && exec env BKLOCKER="running" flock -en "/tmp/revanced-builder.lock" "$0" "$@" || :
# Get timestamp
timestamp=$(date '+%s')
timestamp=$(date '+%Y%m%d%H%M%S')
# Log everything to a logfile inside logs/
log_file="$1/logs/$timestamp.log"