index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-23 16:22:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-23 16:22:07 +0200 |
commit | c50f770046dc8a95c3d8454f8f67a154e21f4f56 (patch) | |
tree | 959032c25b5880e2f0b2576ed18798ee04231dfa /bin/mksrcinfo | |
parent | e6407986535c5f17fff79315e7b541d8258d64e0 (diff) |
-rwxr-xr-x | bin/mksrcinfo | 5 |
diff --git a/bin/mksrcinfo b/bin/mksrcinfo index a033a6a..cfbf917 100755 --- a/bin/mksrcinfo +++ b/bin/mksrcinfo @@ -1,3 +1,6 @@ #!/bin/sh -mksrcinfo -o .SRCINFO +grep -q '\$CARCH' 'PKGBUILD' && \ + CARCH=i686 makepkg --printsrcinfo > \ + '.SRCINFO' || \ + mksrcinfo -o .SRCINFO |