Fetch architecture from dpkg instead of hardcoded

pull/77/head
hartraft 2020-04-29 20:16:01 +02:00 committed by GitHub
parent 7fc502c924
commit 1d33312bb8
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