[Pcsclite-cvs-commit] CFlexPlugin installBundle,1.7,1.8
rousseau@quantz.debian.org
rousseau@quantz.debian.org
Sun, 19 Oct 2003 22:50:58 +0200
Update of /cvsroot/muscleplugins/CFlexPlugin
In directory quantz:/tmp/cvs-serv19355
Modified Files:
installBundle
Log Message:
Do not create the installation directory if it already exists
Index: installBundle
===================================================================
RCS file: /cvsroot/muscleplugins/CFlexPlugin/installBundle,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- installBundle 18 Aug 2003 08:12:53 -0000 1.7
+++ installBundle 19 Oct 2003 20:50:56 -0000 1.8
@@ -74,7 +74,10 @@
fi
echo "Writing service bundle for $targetname in $DESTDIR"
-install -d -m 755 $DESTDIR
+if [ ! -d $DESTDIR ]
+then
+ install -d -m 755 $DESTDIR
+fi
cp -r src/$bundlename $DESTDIR
install -d -m 755 $DESTDIR/$bundlename/Contents/$hostType
install -s -m 644 src/.libs/$libname.$dso_suffix $DESTDIR/$bundlename/Contents/$hostType/$targetname