Added check-build.sh file to project to limit the platforms where it is
built.
This commit is contained in:
14
CASA-auth-token/server-java/package/linux/check-build.sh
Executable file
14
CASA-auth-token/server-java/package/linux/check-build.sh
Executable 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
|
||||
Reference in New Issue
Block a user