From 27adf510b06ba6b56fc0078ea69cfe68fd43337c Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 14 Jan 2013 14:00:46 +0100 Subject: [PATCH] grml2ram: fix usage of LIVECD_PATH variable together with MEDIA_PATH --- usr_sbin/grml2ram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr_sbin/grml2ram b/usr_sbin/grml2ram index 16bf33c..37c36a3 100755 --- a/usr_sbin/grml2ram +++ b/usr_sbin/grml2ram @@ -52,7 +52,7 @@ getbootparam(){ MEDIA_PATH="$(getbootparam live-media-path)" MEDIA_PATH="${MEDIA_PATH:-.}" -IMAGE=$(find $LIVECD_PATH/${MEDIA_PATH}/ -name *.squashfs 2>/dev/null | head -1) +IMAGE=$(find ${LIVECD_PATH}/${MEDIA_PATH}/ -name *.squashfs 2>/dev/null | head -1) if ! [ -r "$IMAGE" ] ; then if [ -r /cdrom/GRML/GRML ] ; then IMAGE='/cdrom/GRML/GRML' -- 2.1.4