diff options
Diffstat (limited to 'community/virtualbox-modules/build.sh')
-rwxr-xr-x | community/virtualbox-modules/build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/virtualbox-modules/build.sh b/community/virtualbox-modules/build.sh index 9b0e6fca8..828448cab 100755 --- a/community/virtualbox-modules/build.sh +++ b/community/virtualbox-modules/build.sh @@ -1,8 +1,8 @@ #!/bin/bash -if (( $# != 2 )); then - echo "usage: $0 extra multilib" - echo " $0 testing multilib-testing" +if (( $# != 1 )); then + echo "usage: $0 extra" + echo " $0 testing" exit 1 fi @@ -11,10 +11,10 @@ linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-i686.pk linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686 linux32 makechrootpkg -r /var/lib/archbuild/$1-i686 -$2-build -makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$2-x86_64 -makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$2-x86_64 -makechrootpkg -r /var/lib/archbuild/$2-x86_64 +$1-x86_64-build +makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 +makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 +makechrootpkg -r /var/lib/archbuild/$1-x86_64 # vim:set ts=2 sw=2 ft=sh et: |