parent
bb0324e398
commit
ec96c604e9
@ -105,6 +105,10 @@ want_check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_source_date() {
|
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
|
# set time stamp for reproducible builds
|
||||||
if [ -z "$ABUILD_LAST_COMMIT" ]; then
|
if [ -z "$ABUILD_LAST_COMMIT" ]; then
|
||||||
export ABUILD_LAST_COMMIT="$(git_last_commit)$(git_dirty)"
|
export ABUILD_LAST_COMMIT="$(git_last_commit)$(git_dirty)"
|
||||||
|
Reference in New Issue
Block a user