diff --git a/mk_mmc.sh b/mk_mmc.sh index 6390373..88f17f4 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -276,7 +276,7 @@ function dl_firmware { echo "-----------------------------" #TODO: We should just use the git tree blobs over distro versions - if ! ls ${GIT_DIR}/dl/linux-firmware/.git/ >/dev/null 2>&1;then + if [ ! -f ${DIR}/dl/linux-firmware/.git/config ]; then cd ${DIR}/dl/ git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git cd ${DIR}/