0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/scripts/build/termux_step_create_timestamp_file.sh
Henrik Grimler 23530a540c build-package: create timestamp file after get_dependencies
Fixes issue introduced in e34ae5da030d990f1d5b2b2af65d0a8cd9cecb51.
2021-08-21 22:37:51 +02:00

10 lines
359 B
Bash

termux_step_create_timestamp_file() {
# Keep track of when build started so we can see what files
# have been created. We start by sleeping so that any
# generated files (such as zlib.pc) get an older timestamp
# than the TERMUX_BUILD_TS_FILE.
sleep 1
TERMUX_BUILD_TS_FILE=$TERMUX_PKG_TMPDIR/timestamp_$TERMUX_PKG_NAME
touch "$TERMUX_BUILD_TS_FILE"
}