SHELLCHECKER: Added "" into values

This commit is contained in:
Marcin Woźniak 2021-06-19 16:44:20 +02:00
parent 66b3021937
commit c5310feda6
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -7,8 +7,8 @@ GRUBRELOAD=1
function starting() { function starting() {
echo -e "\e[93m----------------------COMPILING------------------------------\e[0m" echo -e "\e[93m----------------------COMPILING------------------------------\e[0m"
sudo cp -rv $DEFAULT_KERNEL $TMP_KERNEL sudo cp -rv "$DEFAULT_KERNEL" "$TMP_KERNEL"
cp -r $TMP_KERNEL $BACKUP/kernel-config cp -r "$TMP_KERNEL" "$BACKUP/kernel-config"
cp -r /etc/portage/* $BACKUP cp -r /etc/portage/* $BACKUP
qlist -I | sort -u > $BACKUP/list-of-programs qlist -I | sort -u > $BACKUP/list-of-programs
} }
@ -21,9 +21,8 @@ echo
read -rp "New kernel is: " KERVER read -rp "New kernel is: " KERVER
echo echo
echo -e "Your kernel now is \e[91m$(uname -sr)\e[0m" echo -e "Your kernel now is \e[91m$(uname -sr)\e[0m"
echo -e "Your selected kernel is \e[91m"$KERVER"\e[0m" echo -e "Your selected kernel is \e[91m$KERVER\e[0m"
sudo eselect kernel set $KERVER sudo eselect kernel set "$KERVER"
sudo eselect kernel list | grep "*"
echo echo
} }