diff options
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -521,6 +521,23 @@ update_config_sub() { return $? } +# helper to update config.guess to a recent version +update_config_guess() { + local changed=false + find . -name config.guess | while read f; do + if grep -q aarch64 "$f"; then + msg "No update needed for $f" + else + msg "Updating $f" + cp "$datadir"/${f##*/} "$f" || return 1 + changed=true + fi + # pipe subshell will return status of last command + $changed + done + return $? +} + runpart() { local part=$1 [ -n "$DEBUG" ] && msg "$part" |