tar refuses to extract into a non-existent directory

This helps if trying to use a new directory as the temporary directory.
master
Georgi Georgiev 12 years ago committed by Georgi Georgiev
parent 99d1ae9d8a
commit 2f2fdcb58f

@ -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

Loading…
Cancel
Save