From 2f2fdcb58f3a1f7ad13f9506041c8a075c7fc855 Mon Sep 17 00:00:00 2001 From: Georgi Georgiev Date: Fri, 25 Jan 2013 01:54:18 +0900 Subject: [PATCH] tar refuses to extract into a non-existent directory This helps if trying to use a new directory as the temporary directory. --- gen_determineargs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index ac0a43a..f8448e6 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -4,6 +4,7 @@ get_KV() { if [ "${KERNEL_SOURCES}" = '0' -a -e "${KERNCACHE}" ] then + mkdir -p ${TEMP} /bin/tar -xj -C ${TEMP} -f ${KERNCACHE} kerncache.config if [ -e ${TEMP}/kerncache.config ] then