Code Review
/
aaf
/
authz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update project structure to org.onap.aaf
[aaf/authz.git]
/
authz-test
/
TestSuite
/
copy
1
# /bin/bash
2
if [ "$2" != "" ] ; then
3
if [ -e $2 ]; then
4
echo "$2 exists, copy aborted"
5
exit 1
6
fi
7
mkdir -p $2
8
for FILE in $1/*; do
9
FILE2=`echo $FILE | sed -e "s/$1/$2/"`
10
echo $FILE2
11
sed -e "s/$1/$2/g" $FILE > $FILE2
12
done
13
else
14
echo 'Usage: copy <Source TestCase> <Target TestCase>'
15
fi
16
17
exit 0