projects
/
grml-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a478f
)
grml2ram: fix usage of LIVECD_PATH variable together with MEDIA_PATH
author
Michael Prokop
<mika@grml.org>
Mon, 14 Jan 2013 13:00:46 +0000
(14:00 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 14 Jan 2013 13:00:46 +0000
(14:00 +0100)
usr_sbin/grml2ram
patch
|
blob
|
history
diff --git
a/usr_sbin/grml2ram
b/usr_sbin/grml2ram
index
16bf33c
..
37c36a3
100755
(executable)
--- 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'