Displaying 3 results from an estimated 3 matches for "47dda72".
2015 Mar 23
1
[PATCH] customize: add --copy
From: Maros Zatko <hacxman@gmail.com>
This adds --copy SOURCE:DEST, equivalent of calling g#cp_a src dst.
RFE: RHBZ#1203817
Maros Zatko (1):
customize: add --copy
builder/cmdline.ml | 2 +-
customize/customize_run.ml | 4 ++++
generator/customize.ml | 10 ++++++++++
3 files changed, 15 insertions(+), 1 deletion(-)
--
1.9.3
2015 Mar 23
2
[PATCH] customize: add --move
From: Maros Zatko <hacxman@gmail.com>
This adds --move SOURCE:DEST, equivalent of calling g#mv src dst.
RFE: RHBZ#1203817
Maros Zatko (1):
customize: add --move
builder/cmdline.ml | 2 +-
customize/customize_run.ml | 4 ++++
generator/customize.ml | 10 ++++++++++
3 files changed, 15 insertions(+), 1 deletion(-)
--
1.9.3
2015 Mar 23
0
[PATCH] customize: add --move
...ndsFromFile _ | `CopyIn _ | `Copy _ | `Move _ -> false
) ops.ops in
if requires_execute_on_guest then
error (f_"sorry, cannot run commands on a guest with a different architecture");
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index 47dda72..dbb77df 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -228,6 +228,10 @@ exec >>%s 2>&1
msg (f_"Making directory: %s") dir;
g#mkdir_p dir
+ | `Move (src, dest) ->
+ msg (f_"Moving: %s -> %s") src dest;
+...