From f785b9bc4cf5bbd9bd4f45272e1f01a400d1ef6c Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 7 Dec 2011 11:18:27 -0600 Subject: [PATCH] bugfix: GIT_DIR was never defined Signed-off-by: Robert Nelson --- mk_mmc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}/