commit | f6f0662da3bc859f22338b19b0965453ab0483ea | [log] [tgz] |
---|---|---|
author | Ash Wilson <ash.d.wilson@gmail.com> | Thu Apr 14 18:55:59 2016 -0700 |
committer | Ash Wilson <ash.d.wilson@gmail.com> | Thu Apr 14 18:55:59 2016 -0700 |
tree | 31f353fcc484cb7f627f2ce21efd66393e5c585b | |
parent | 9ee6f7fab8e4958aa424d50d8d794399b1120b13 [diff] |
Auto-set arch
diff --git a/build.sh b/build.sh index 83bfc03..514df05 100755 --- a/build.sh +++ b/build.sh
@@ -6,7 +6,7 @@ # Now, we check to see that the version env var is set ${CPACK_PACKAGE_VERSION:?"Need to set CPACK_PACKAGE_VERSION env var!"} -${CPACK_DEBIAN_PACKAGE_ARCHITECTURE:?"Need to set CPACK_DEBIAN_PACKAGE_ARCHITECTURE env var!"} +$CPACK_DEBIAN_PACKAGE_ARCHITECTURE=`dpkg --print-architecture` # OK, now we get down to the business of building... rm -rf ./build