From: xf0r3m Date: Sat, 2 Dec 2023 11:49:32 +0000 (+0100) Subject: Poprawienie błędów w pliku immudex-build X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=23682f061c99f2c5e11f9db4730b01b9efb4ee09;p=immudex.git Poprawienie błędów w pliku immudex-build --- diff --git a/immudex-build b/immudex-build index ebb237c..e5fa706 100755 --- a/immudex-build +++ b/immudex-build @@ -34,7 +34,7 @@ else fi #Determinig vanilla debian version -case $2; in +case $2 in '--testing') debver="testing";; '--stable') debver="stable";; '--oldstable') debver="oldstable";; @@ -59,7 +59,7 @@ if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi #Copying chroot script to chroot directory: echo -n "Copying chroot script to chroot directory..."; -sudo cp -vv ${HOME}/immudex-testing/versions/base.sh ${HOME}/build/immudex-${debver}/${arch}/chroot >> immudex_build.log 2>&1; +sudo cp -vv ${HOME}/immudex/versions/base.sh ${HOME}/build/immudex-${debver}/${arch}/chroot >> immudex_build.log 2>&1; if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi #Executing chroot script, at least i trying: @@ -96,8 +96,8 @@ if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi #Getting and copying bootloader files echo -n "Copying bootloader files..."; arch2=$(echo $1 | sed 's/-//g'); -cp -v ${HOME}/immudex-testing/isolinux/${arch2}/* ${HOME}/build/immudex-${debver}/${arch}/staging/isolinux >> immudex_build.log 2>&1; -cp -v ${HOME}/immudex-testing/grub/${arch2}/* ${HOME}/build/immudex-${debver}/${arch}/staging/boot/grub >> immudex_build.log 2>&1; +cp -v ${HOME}/immudex/isolinux/${arch2}/* ${HOME}/build/immudex-${debver}/${arch}/staging/isolinux >> immudex_build.log 2>&1; +cp -v ${HOME}/immudex/grub/${arch2}/* ${HOME}/build/immudex-${debver}/${arch}/staging/boot/grub >> immudex_build.log 2>&1; if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi #Create grubstandalone config: