Fixed wrong architecture string on amd64 builds
This commit is contained in:
1 parent
cc88570ba8
commit
29e589eddc
1 file changed
+5
-2
@@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
# set -e
|
# set -e
|
||||||
|
|
||||||
# Get current cpu architecture
|
# Get current cpu architecture used by the make output
|
||||||
architecture=$(dpkg --print-architecture)
|
case "$(dpkg --print-architecture)" in
|
||||||
|
amd64) architecture=x64 ;;
|
||||||
|
*) architecture=$(dpkg --print-architecture) ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Remove old builds excluding scripts and config example
|
# Remove old builds excluding scripts and config example
|
||||||
find ./out/Tooloop\ OS\ Package/package/assets/presentation/ -type f -not -name '*sh' -not -name 'config*' -print0 | xargs -0 rm -f --
|
find ./out/Tooloop\ OS\ Package/package/assets/presentation/ -type f -not -name '*sh' -not -name 'config*' -print0 | xargs -0 rm -f --
|
||||||
|
|||||||
Reference in new issue
Block a user