We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6f26b commit 05b82f1Copy full SHA for 05b82f1
v1.0/v1.0/recursive-input-directory.cwl
@@ -7,7 +7,18 @@ requirements:
7
- entry: $(inputs.input_dir)
8
entryname: work_dir
9
writable: true
10
-baseCommand: [touch, work_dir/e]
+baseCommand:
11
+ - bash
12
+ - '-c'
13
+ - 'if [ ! -w work_dir ]; then echo not writable; fi;
14
+ if [ -L work_dir ]; then echo dir is a symlink; fi;
15
+ if [ ! -w work_dir/a ]; then echo not writable; fi;
16
+ if [ -L work_dir/a ]; then echo dir is a symlink; fi;
17
+ if [ ! -w work_dir/c ]; then echo not writable; fi;
18
+ if [ -L work_dir/c ]; then echo dir is a symlink; fi;
19
+ if [ ! -w work_dir/c/d ]; then echo not writable; fi;
20
+ if [ -L work_dir/c/d ]; then echo dir is a symlink; fi;
21
+ touch work_dir/e'
22
inputs:
23
input_dir: Directory
24
outputs:
0 commit comments