Lines 1246-1253
Link Here
|
1246 |
# |
1246 |
# |
1247 |
|
1247 |
|
1248 |
if [ ! -d "${RKHTMPDIR}" ]; then |
1248 |
if [ ! -d "${RKHTMPDIR}" ]; then |
1249 |
echo "Temporary directory does not exist: ${RKHTMPDIR}" |
1249 |
echo "Temporary directory does not exist: ${RKHTMPDIR}; Creating it." |
1250 |
exit 1 |
1250 |
mkdir -p "${RKHTMPDIR}" |
|
|
1251 |
if [ ! -d "${RKHTMPDIR}" ]; then |
1252 |
echo "Cannot create directory ${RKHTMPDIR}." |
1253 |
exit 1 |
1254 |
fi |
1251 |
elif [ ! -w "${RKHTMPDIR}" ]; then |
1255 |
elif [ ! -w "${RKHTMPDIR}" ]; then |
1252 |
echo "Temporary directory is not writable: ${RKHTMPDIR}" |
1256 |
echo "Temporary directory is not writable: ${RKHTMPDIR}" |
1253 |
exit 1 |
1257 |
exit 1 |