We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0a4971 + 75dfdc6 commit a0e0f9dCopy full SHA for a0e0f9d
1 file changed
repro.in
@@ -496,11 +496,14 @@ else
496
pacman --noconfirm --needed -Sddu "$DEVTOOLS_PKG"
497
fi
498
499
-for makepkg_path in /usr/share/devtools/{makepkg-x86_64.conf,makepkg.d/x86_64.conf}; do
500
- if [ -f "\$makepkg_path" ]; then
501
- cp -v "\$makepkg_path" /mnt/etc/makepkg.conf
502
- fi
503
-done
+if [[ -f /usr/share/devtools/makepkg.conf.d/x86_64.conf ]]; then
+ cp -v /usr/share/devtools/makepkg.conf.d/x86_64.conf /mnt/etc/makepkg.conf
+elif [[ -f /usr/share/devtools/makepkg-x86_64.conf ]]; then
+ cp -v /usr/share/devtools/makepkg-x86_64.conf /mnt/etc/makepkg.conf
+else
504
+ echo "Failed to find the makepkg.conf location, please report to archlinux-repro"
505
+ exit 1
506
+fi
507
__END__
508
lock_close 9 "$KEYRINGCACHE/$keyring_package.lock"
509
0 commit comments