]> xenbits.xen.org Git - xenclient/build.git/commitdiff
Add the directory too
authorJames Mckenzie <jamesmck@taoand.(none)>
Fri, 11 Sep 2009 16:05:29 +0000 (17:05 +0100)
committerJames Mckenzie <jamesmck@taoand.(none)>
Fri, 11 Sep 2009 16:05:29 +0000 (17:05 +0100)
target/generic/target_xenclient_installer_skeleton/install/stages/functions

index b3ca0bb391f74797950266e8a2672749c459a362..33645317a52125ad291eff0dc0129256519a80ca 100644 (file)
@@ -377,9 +377,9 @@ install_file()
     do_cmd mount /dev/xenclient/root /mnt/xenclient >&2                           || return 1
     do_cmd mount /dev/xenclient/storage /mnt/xenclient/storage >&2 || file_unwind || return 1
 
+    mkdir -p $(dirname "/mnt/xenclient/${DST}")                    || file_unwind || return 1
     cp "${SRC}" "/mnt/xenclient/${DST}"                            || file_unwind || return 1
 
-
     file_unwind 
     
     return 0