X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-misc-helpers.sh;fp=scripts%2Fboot%2F9990-misc-helpers.sh;h=8d7943e582afb16a23eb66dd156a52eb2acc1840;hb=0f10a899281806360e427b5cfdd0474c8bad2d85;hp=fb7c64419ea836f7a4948519fff6f7e7b3754216;hpb=947290a2a0c11f6c37283b40d9b7a9ae89fc8a47;p=live-boot-grml.git 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