git://scientific.zcu.cz
/
glite-security-test-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae85184
)
checking for error during copy
author
Joni Hahkala
<joni.hahkala@cern.ch>
Fri, 14 Jan 2005 10:32:09 +0000
(10:32 +0000)
committer
Joni Hahkala
<joni.hahkala@cern.ch>
Fri, 14 Jan 2005 10:32:09 +0000
(10:32 +0000)
bin/generate-test-certificates.sh
patch
|
blob
|
blame
|
history
diff --git
a/bin/generate-test-certificates.sh
b/bin/generate-test-certificates.sh
index
e64c3d3
..
a824568
100755
(executable)
--- a/
bin/generate-test-certificates.sh
+++ b/
bin/generate-test-certificates.sh
@@
-518,6
+518,11
@@
for catype in $CATYPES; do
echo "CA directory already exists: $CA_DIR"
else
cp -a $CONFIGDIR/${catype}-ca $CA_DIR
+ result=$?
+ if [ $result -ne 0 ];then
+ echo The copying of CA ${catype} failed with error code $result
+ exit -1
+ fi
fi
mkdir -p $CERT_DIR