From 6d741ffba8b06e714b257d285f64594501812594 Mon Sep 17 00:00:00 2001 From: Wictor Lund Date: Thu, 30 Jan 2020 13:30:48 +0200 Subject: [PATCH] abuild.in: in snapshot(), fix recursive calls - Call "$abuild_path" instead of plain "abuild" - Pass $forceroot as done elsewhere --- abuild.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abuild.in b/abuild.in index 7654baa..2af9452 100644 --- a/abuild.in +++ b/abuild.in @@ -2492,7 +2492,7 @@ snapshot() { local _date=$(date +%Y%m%d) local _format="tar.gz" # remove any repositories left in srcdir - abuild clean + "$abuild_path" $forceroot clean mkdir -p "$srcdir" && cd "$srcdir" # clone git repo and archive if [ -n "$giturl" ]; then @@ -2529,7 +2529,7 @@ snapshot() { # set the pkgver to current date and update checksum sed -i -e "s/^pkgver=.*/pkgver=${_version}/" \ APKBUILD || return 1 - abuild checksum + "$abuild_path" $forceroot checksum fi }