diff --git a/hack/ccp/hack/transfer.sh b/hack/ccp/hack/transfer.sh index 39a777305..cf70b5f07 100755 --- a/hack/ccp/hack/transfer.sh +++ b/hack/ccp/hack/transfer.sh @@ -5,7 +5,18 @@ set -x __dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" transfer=$(mktemp -d) + cp $__dir/processingMCP.xml $transfer -touch $transfer/hello.txt -touch $transfer/bye.txt + +num_files=$1 +if [[ ! "$num_files" =~ ^[0-9]+$ ]]; then + touch "$transfer/hello.txt" + touch "$transfer/bye.txt" +else + for (( i=0; i