summaryrefslogtreecommitdiff
path: root/scripts/boot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot')
-rwxr-xr-xscripts/boot/9990-misc-helpers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh
index fb7c644..8d7943e 100755
--- 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