Skip to content

Commit

Permalink
grml2ram: fix usage of LIVECD_PATH variable together with MEDIA_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Jan 14, 2013
1 parent a5a478f commit 27adf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr_sbin/grml2ram
Expand Up @@ -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'
Expand Down

0 comments on commit 27adf51

Please sign in to comment.