You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2004/09/07 08:34:43 UTC
cvs commit: ws-axis/c mkinstalldirs
damitha 2004/09/06 23:34:43
Modified: c mkinstalldirs
Log:
Fixed a small problem
Revision Changes Path
1.3 +5 -6 ws-axis/c/mkinstalldirs
Index: mkinstalldirs
===================================================================
RCS file: /home/cvs/ws-axis/c/mkinstalldirs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mkinstalldirs 27 Aug 2004 07:55:01 -0000 1.2
+++ mkinstalldirs 7 Sep 2004 06:34:43 -0000 1.3
@@ -7,16 +7,15 @@
errstatus=0
dirmode=""
-if ! test -d '${AXISCPP_DEPLOY}/docs'; then
+if ! test -d ${AXISCPP_DEPLOY}/docs; then
cp -rf ./docs ${AXISCPP_DEPLOY}
fi
-if ! test -d '${AXISCPP_DEPLOY}/samples'; then
+if ! test -d ${AXISCPP_DEPLOY}/samples; then
cp -rf ./samples ${AXISCPP_DEPLOY}
fi
-if ! test -d '${AXISCPP_DEPLOY}/tests'; then
- cp -rf ./tests ${AXISCPP_DEPLOY}
-fi
-if ! test -d '${AXISCPP_DEPLOY}/log'; then
+if test -d ${AXISCPP_DEPLOY}/log; then
+ chmod 777 ${AXISCPP_DEPLOY}/log
+else
mkdir ${AXISCPP_DEPLOY}/log
chmod 777 ${AXISCPP_DEPLOY}/log
fi