mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 20:58:37 -06:00
chg: Use simpler timestamp
This commit is contained in:
parent
56c20aaf51
commit
ae03fe9dce
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
[ "${BKLOCKER}" != "running" ] && exec env BKLOCKER="running" flock -en "/tmp/revanced-builder.lock" "$0" "$@" || :
|
[ "${BKLOCKER}" != "running" ] && exec env BKLOCKER="running" flock -en "/tmp/revanced-builder.lock" "$0" "$@" || :
|
||||||
|
|
||||||
# Get timestamp
|
# Get timestamp
|
||||||
timestamp=$(date '+%s')
|
timestamp=$(date '+%Y%m%d%H%M%S')
|
||||||
|
|
||||||
# Log everything to a logfile inside logs/
|
# Log everything to a logfile inside logs/
|
||||||
log_file="$1/logs/$timestamp.log"
|
log_file="$1/logs/$timestamp.log"
|
||||||
|
|
Loading…
Reference in a new issue