]> gitweb.morketsmerke.org Git - immudex.git/commitdiff
Poprawienie błędów w pliku immudex-build
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 2 Dec 2023 11:49:32 +0000 (12:49 +0100)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 2 Dec 2023 11:49:32 +0000 (12:49 +0100)
immudex-build

index ebb237cf4f1e0a9dfe83fb24324998e329b03dcc..e5fa706a2ee186c2f88d28d10a95e90a572935d7 100755 (executable)
@@ -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: