]> xenbits.xensource.com Git - xenclient/build.git/commitdiff
XC-200: fix copy of installation log to target
authorChristopher Clark <christopher.clark@citrix.com>
Wed, 9 Sep 2009 17:22:25 +0000 (10:22 -0700)
committerChristopher Clark <christopher.clark@citrix.com>
Wed, 9 Sep 2009 17:22:25 +0000 (10:22 -0700)
target/generic/target_xenclient_installer_skeleton/install/stages/Preserve-install-data

index a1b1cd1b2a3eb19563beff56b3243897ec3cbafa..331b2ef6d5ab7b45dc60e7e0547ba433ce951630 100755 (executable)
@@ -37,6 +37,7 @@ for PLACE in "${DATA_DIR}" "${LOG_DIR}" ; do
     mkdir -p "$(dirname ${PLACE})" || unwind_abort
     rm -rf "${PLACE}" >/dev/null 2>/dev/null
     [ ! -e "${PLACE}" ] || unwind_abort
+    mkdir -p "${PLACE}" || unwind_abort
 done
 
 # Write the success indicator here, so that it persists on the target