projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
947290a
)
Simplifying if statement in is_live_system function.
author
Michael Stummvoll
<michael@stummi.org>
Fri, 22 Mar 2013 09:53:10 +0000
(10:53 +0100)
committer
Daniel Baumann
<mail@daniel-baumann.ch>
Mon, 6 May 2013 11:54:16 +0000
(13:54 +0200)
scripts/boot/9990-misc-helpers.sh
patch
|
blob
|
history
diff --git
a/scripts/boot/9990-misc-helpers.sh
b/scripts/boot/9990-misc-helpers.sh
index
fb7c644
..
8d7943e
100755
(executable)
--- a/
scripts/boot/9990-misc-helpers.sh
+++ b/
scripts/boot/9990-misc-helpers.sh
@@
-10,7
+10,7
@@
is_live_path ()
then
for FILESYSTEM in squashfs ext2 ext3 ext4 xfs dir jffs2
do
- if [
"$(echo ${DIRECTORY}/${LIVE_MEDIA_PATH}/*.${FILESYSTEM})" != "${DIRECTORY}/${LIVE_MEDIA_PATH}/*
.${FILESYSTEM}" ]
+ if [
-e "${DIRECTORY}/${LIVE_MEDIA_PATH}/"*"
.${FILESYSTEM}" ]
then
return 0
fi