diff options
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 | |
parent | e6407986535c5f17fff79315e7b541d8258d64e0 (diff) | |
download | builder-c50f770046dc8a95c3d8454f8f67a154e21f4f56.tar.xz |
bin/mksrcinfo: use makepkg and mksrcinfo as before
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mksrcinfo | 5 |
1 files changed, 4 insertions, 1 deletions
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 |