From: xf0r3m Date: Sun, 23 Jul 2023 07:01:14 +0000 (+0200) Subject: Zmiana paramertru pozycyjnego wskazującego podaną wersję - sekcja aktualizacji, skryp... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=4adcb2979012998ee00e9a5810797c70af7645f2;p=immudex-lhe.git Zmiana paramertru pozycyjnego wskazującego podaną wersję - sekcja aktualizacji, skrypt budowania 'immudex_build' --- 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