[Pcsclite-cvs-commit] MCardPlugin installBundle,1.5,1.6

rousseau@quantz.debian.org rousseau@quantz.debian.org
Sun, 19 Oct 2003 22:52:26 +0200


Update of /cvsroot/muscleplugins/MCardPlugin
In directory quantz:/tmp/cvs-serv19462

Modified Files:
	installBundle 
Log Message:
Do not create the installation directory if it already exists


Index: installBundle
===================================================================
RCS file: /cvsroot/muscleplugins/MCardPlugin/installBundle,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- installBundle	1 Oct 2002 18:42:42 -0000	1.5
+++ installBundle	19 Oct 2003 20:52:24 -0000	1.6
@@ -74,7 +74,10 @@
 fi
 
 echo "Writing service bundle for $targetname in $DESTDIR"
-install --directory --mode 755 $DESTDIR
+if [ ! -d $DESTDIR ]
+then
+	install --directory --mode 755 $DESTDIR
+fi
 cp -r src/$bundlename $DESTDIR
 install --directory --mode 755 $DESTDIR/$bundlename/Contents/$hostType
 install --strip --mode 644 src/.libs/$libname.$dso_suffix $DESTDIR/$bundlename/Contents/$hostType/$targetname