diff --git a/prod_build/linux/debian/scripts/compile_and_pack.sh b/prod_build/linux/debian/scripts/compile_and_pack.sh index cf83bb76f1fa796fbc8fc5992d142f419c476739..a58123b55f74612c98cc6c63e34f989a9104195c 100755 --- a/prod_build/linux/debian/scripts/compile_and_pack.sh +++ b/prod_build/linux/debian/scripts/compile_and_pack.sh @@ -38,7 +38,7 @@ substitute_pkgname_postfix() { repack() { DEBNAME=$1 -DISTR_CODENAME=$2 +DISTR_CODENAME="$Codename" echo "Renaming controlde on $DEBNAME" mkdir tmp && cd tmp @@ -61,6 +61,7 @@ rm -rf tmp pwd error=0 mkdir -p packages + substitute_pkgname_postfix && mkdir -p build && cd build && cmake ../ && make -j$(nproc) && cpack && repack *.deb && mv -v *.deb ../packages/ && cd .. && rm -r build || error=$? exit $error