[csw-devel] SF.net SVN: gar:[18528] csw/mgar/pkg/cswclassutils/trunk/files

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Tue Jun 26 09:13:08 CEST 2012


Revision: 18528
          http://gar.svn.sourceforge.net/gar/?rev=18528&view=rev
Author:   pfelecan
Date:     2012-06-26 07:13:08 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
fully qualify chroot and bash

Modified Paths:
--------------
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswtexhash
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswtexhash
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswtexhash	2012-06-25 14:25:53 UTC (rev 18527)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswtexhash	2012-06-26 07:13:08 UTC (rev 18528)
@@ -16,7 +16,7 @@
 
 if [ -x ${PKG_INSTALL_ROOT}/opt/csw/bin/mktexlsr ]; then
 	echo "Registering TeX entries. This may take some time..."
-	chroot ${PKG_INSTALL_ROOT:-/} bash /opt/csw/bin/mktexlsr ||
+	/usr/sbin/chroot ${PKG_INSTALL_ROOT:-/} /usr/bin/bash /opt/csw/bin/mktexlsr ||
 	echo "Registering Tex entries failed! You need to run mktexlsr again"
 else
     echo "$dest (TeX will be registered when CSWtetex is installed)"

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash	2012-06-25 14:25:53 UTC (rev 18527)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash	2012-06-26 07:13:08 UTC (rev 18528)
@@ -18,7 +18,7 @@
 
 if [ -x ${PKG_INSTALL_ROOT}/opt/csw/bin/mktexlsr ]; then
 	echo "Unregistering TeX entries. This may take some time..."
-	chroot ${PKG_INSTALL_ROOT:-/} bash /opt/csw/bin/mktexlsr ||
+	/usr/sbin/chroot ${PKG_INSTALL_ROOT:-/} /usr/bin/bash /opt/csw/bin/mktexlsr ||
 	echo "Unregistering Tex entries failed! You need to run mktexlsr again"
 fi
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list