Displaying 3 results from an estimated 3 matches for "96c4c48".
Did you mean:
961448
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
...t;Making directory: %s") dir;
g#mkdir_p dir
+ | `Move (src, dest) ->
+ msg (f_"Moving: %s -> %s") src dest;
+ g#mv src dest
+
| `Password (user, pw) ->
set_password user pw
diff --git a/generator/customize.ml b/generator/customize.ml
index 96c4c48..99ff4b9 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -222,6 +222,16 @@ This uses S<C<mkdir -p>> so any intermediate directories are created,
and it also works if the directory already exists.";
};
+ { op_name = "move";
+ op_type = StringP...