File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "description" : " Wrapper task for mv command" ,
3
+ "parameters" : {
4
+ "source" : {
5
+ "type" : " String" ,
6
+ "description" : " Current path of file"
7
+ },
8
+ "target" : {
9
+ "type" : " String" ,
10
+ "description" : " New path of file"
11
+ }
12
+ },
13
+ "input_method" : " environment" ,
14
+ "implementations" : [
15
+ {"name" : " mv.sh" }
16
+ ]
17
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # This task exists as a convenience for users who need predictable sudo
4
+ # commands without variance to write into their sudoers rules. The only real
5
+ # variable in commands used by peadm is the filename of the PE installer
6
+ # tarball. This task can be used in a pre-plan to homogenize calls to sudo.
7
+ # Rather than literally calling "mv" with a variable filename, the mv.sh task
8
+ # can be called. Inputs come as environment variables so the call doesn't
9
+ # change.
10
+
11
+ mv " $PT_source " " $PT_target "
You can’t perform that action at this time.
0 commit comments