Added check-build.sh file to project to limit the platforms where it is

built.
This commit is contained in:
Juan Carlos Luciani
2006-11-18 07:27:13 +00:00
parent 0332b6610e
commit f08172971e
3 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
echo "Testing if this arch is valid for this package"
case `uname -m` in
i?86|x86_64)
echo ... valid arch, will build...
;;
*)
echo ... invalid arch, will not build on this arch
exit 1
;;
esac
exit 0