Skip to content

Commit

Permalink
Pass MAKEPKG_CONF instead of CARCH to checkpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Jul 29, 2021
1 parent 41574b9 commit fde6a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makechrootpkg.in
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ else
done

msg2 "Checking packages"
sudo -u "$makepkg_user" env CARCH="$(. $copydir/etc/makepkg.conf; echo $CARCH)" checkpkg --rmdir --warn "${remotepkgs[@]/#file:\/\//}"
sudo -u "$makepkg_user" env MAKEPKG_CONF="$copydir/etc/makepkg.conf" checkpkg --rmdir --warn "${remotepkgs[@]/#file:\/\//}"
fi
true
fi

0 comments on commit fde6a6c

Please sign in to comment.