Added quotes to $DESTINATION_DIR in install.sh

This commit is contained in:
Lawrence Lagerlof 2022-09-17 12:51:53 -03:00
parent 51aaa2ec57
commit a5ed41fd54

View file

@ -73,7 +73,7 @@ fi
rm -f /tmp/h-m-m
# Make the copied file executable
if ! sudo chmod +x $DESTINATION_DIR/h-m-m; then
if ! sudo chmod +x "$DESTINATION_DIR/h-m-m"; then
printf "ERROR: Could not make the script %s/h-m-m executable.\n" "$DESTINATION_DIR"
exit 1
fi