[Pcsclite-cvs-commit] r272 - trunk/MCardPlugin

Ludovic Rousseau rousseau at costa.debian.org
Wed Jan 25 15:15:21 UTC 2006


Author: rousseau
Date: 2006-01-25 15:15:20 +0000 (Wed, 25 Jan 2006)
New Revision: 272

Modified:
   trunk/MCardPlugin/installBundle
Log:
do not use the long options --mode but the short equivalent -m so it
also works on non GNU systems


Modified: trunk/MCardPlugin/installBundle
===================================================================
--- trunk/MCardPlugin/installBundle	2006-01-25 15:14:15 UTC (rev 271)
+++ trunk/MCardPlugin/installBundle	2006-01-25 15:15:20 UTC (rev 272)
@@ -78,12 +78,12 @@
 echo "Writing service bundle for $targetname in $DESTDIR"
 if [ ! -d $DESTDIR ]
 then
-	install --directory --mode 755 $DESTDIR
+	install -d -m 755 $DESTDIR
 fi
 
 set -x
 cp -r src/$bundlename $DESTDIR
-install --directory --mode 755 $DESTDIR/$bundlename/Contents/$hostType
-install --mode 644 src/.libs/$libname.$dso_suffix $DESTDIR/$bundlename/Contents/$hostType/$targetname
+install -d -m 755 $DESTDIR/$bundlename/Contents/$hostType
+install -m 644 src/.libs/$libname.$dso_suffix $DESTDIR/$bundlename/Contents/$hostType/$targetname
 echo "Installation Successful"
 




More information about the Pcsclite-cvs-commit mailing list