From 4adcb2979012998ee00e9a5810797c70af7645f2 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sun, 23 Jul 2023 09:01:14 +0200 Subject: [PATCH] =?utf8?q?Zmiana=20paramertru=20pozycyjnego=20wskazuj?= =?utf8?q?=C4=85cego=20podan=C4=85=20wersj=C4=99=20-=20sekcja=20aktualizac?= =?utf8?q?ji,=20skrypt=20budowania=20'immudex=5Fbuild'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- immudex_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/immudex_build b/immudex_build index 89c463e..584ba05 100755 --- a/immudex_build +++ b/immudex_build @@ -55,9 +55,9 @@ if [ "$1" ] && [ "$1" = "--update" ]; then cp -v $(ls -v ~/immudex-lhe/${arch}/chroot/boot/initrd.img-* | tail -1) ~/immudex-lhe/${arch}/staging/live/initrd >> ~/immudex_build.log 2>&1; if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi - if [ "$3" ]; then + if [ "$2" ]; then echo -n "Creating version file..."; - echo $3 > ~/immudex-lhe/${arch}/staging/live/version; + echo $2 > ~/immudex-lhe/${arch}/staging/live/version; if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi fi -- 2.39.5