diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 7e3ce18..93a05f1 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -473,7 +473,7 @@ if [ -n "$MISSING_PACKAGES" ] ; then [ "$confirm" != "y" ] && exit 1 # Make sure all missing required packages are installed - apt-get -qq -y install `echo "${MISSING_PACKAGES}" | sed "s/ //"` + apt-get -qq -y install "$(echo "${MISSING_PACKAGES}" | sed "s/ //")" fi # Check if ./bootstrap.d directory exists