Merge pull request #77 from hartraft/patch-1

Fetch architecture from dpkg instead of hardcoded
pull/78/head
aristocratos 2020-04-29 21:41:36 +02:00 committed by GitHub
commit 8b13cfb835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ readonly file_src_location=../bashtop # bashtop location ^
readonly ubin=usr/bin/ readonly ubin=usr/bin/
readonly file_name=${file_src_location##*/} readonly file_name=${file_src_location##*/}
readonly ctrl_file=DEBIAN/control readonly ctrl_file=DEBIAN/control
readonly architecture=amd64 # for all architectures readonly architecture=`dpkg --print-architecture` # for all architectures
readonly root_uid=0 readonly root_uid=0
declare version build_version declare version build_version