diff options
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -105,6 +105,10 @@ want_check() { } set_source_date() { + # dont error out if APKBUILD is not in git + if ! $git rev-parse --show-toplevel >/dev/null 2>&1; then + git=true + fi # set time stamp for reproducible builds if [ -z "$ABUILD_LAST_COMMIT" ]; then export ABUILD_LAST_COMMIT="$(git_last_commit)$(git_dirty)" |