[53915] trunk/dports/aqua/SleepTight/Portfile

jmr at macports.org jmr at macports.org
Thu Jul 16 10:38:39 PDT 2009


Revision: 53915
          http://trac.macports.org/changeset/53915
Author:   jmr at macports.org
Date:     2009-07-16 10:38:38 -0700 (Thu, 16 Jul 2009)
Log Message:
-----------
SleepTight: remove use of cd (#12914)

Modified Paths:
--------------
    trunk/dports/aqua/SleepTight/Portfile

Modified: trunk/dports/aqua/SleepTight/Portfile
===================================================================
--- trunk/dports/aqua/SleepTight/Portfile	2009-07-16 17:35:51 UTC (rev 53914)
+++ trunk/dports/aqua/SleepTight/Portfile	2009-07-16 17:38:38 UTC (rev 53915)
@@ -22,8 +22,7 @@
 build.args	build
 
 destroot 	{
-	cd ${worksrcpath}
-	system "${build.cmd} install INSTALL_MODE_FLAG=go-w,a+rX        \
+	system "cd ${worksrcpath} && ${build.cmd} install INSTALL_MODE_FLAG=go-w,a+rX        \
 		INSTALL_PATH=/Applications/MacPorts DSTROOT=${destroot}"
 	xinstall -m 755 -d ${destroot}/Library/PreferencePanes
 	file copy ${worksrcpath}/build/${name}.prefPane                 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090716/0bd07adc/attachment.html>


More information about the macports-changes mailing list