mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-27 05:08:35 -06:00
Update comments
This commit is contained in:
parent
90dbbd9233
commit
9cd7d9888b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Run only one instance of this script at one time
|
# Run only one instance of this script at one time
|
||||||
[ "${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" "$@" || :
|
||||||
|
|
||||||
# Log everything to build.log
|
# Log everything to a logfile inside logs/
|
||||||
log_file="$1/logs/$(date '+%s')"
|
log_file="$1/logs/$(date '+%s')"
|
||||||
[ -d "$1" ] && mkdir -p "$1/logs" && exec > >(tee "$log_file") 2>&1
|
[ -d "$1" ] && mkdir -p "$1/logs" && exec > >(tee "$log_file") 2>&1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue