| | |
| | | #subdirectory structure |
| | | function subdir() { |
| | | |
| | | exit 0; |
| | | echo "ABC"; |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | declare tape_no=${#tapes[@]} |
| | | for i in `seq 1 $tape_no`; do |
| | | echo "trisurf -t ${tapes[i-1]} -d $directory/subdir($i) -o ${tape_overrides[i-1]} ${extra_options[i-1]}" |
| | | declare sdir=$(subdir) |
| | | declare dir_struct="$directory/$sdir" |
| | | #if doesnt exist |
| | | echo "mkdir $dir_struct" |
| | | #if doesnt exist |
| | | echo "cp ${tapes[i-1]} $dir_struct" |
| | | |
| | | |
| | | echo "trisurf -t ${tapes[i-1]} -d $dir_struct -o ${tape_overrides[i-1]} ${extra_options[i-1]}" |
| | | done; |
| | | |
| | | |
| | | #Functions required for operation |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | echo "Deploying configuration of trisurf" |