[30527] trunk/dports/lang/lisp-hyperspec/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 30 07:17:54 PDT 2007


Revision: 30527
          http://trac.macosforge.org/projects/macports/changeset/30527
Author:   eridius at macports.org
Date:     2007-10-30 07:17:53 -0700 (Tue, 30 Oct 2007)

Log Message:
-----------
Stop using the cd command

Modified Paths:
--------------
    trunk/dports/lang/lisp-hyperspec/Portfile

Modified: trunk/dports/lang/lisp-hyperspec/Portfile
===================================================================
--- trunk/dports/lang/lisp-hyperspec/Portfile	2007-10-30 13:58:08 UTC (rev 30526)
+++ trunk/dports/lang/lisp-hyperspec/Portfile	2007-10-30 14:17:53 UTC (rev 30527)
@@ -52,9 +52,9 @@
 configure	{ }
 build		{ }
 
-destroot	{ file mkdir ${destroot}/${prefix}/share/doc/lisp/${distname}
-		  cd ${destroot}/${prefix}/share/doc/lisp/${distname}
-		  system "${extract.cmd} ${extract.pre_args} ${distpath}/${distfile} ${extract.post_args}"
-		  cd ${destroot}/${prefix}/share/doc
-		  system "chown -R root.admin lisp"
-		}
+destroot {
+    file mkdir ${destroot}/${prefix}/share/doc/lisp/${distname}
+    system "cd ${destroot}/${prefix}/share/doc/lisp/${distname} && \
+            ${extract.cmd} ${extract.pre_args} ${distpath}/${distfile} ${extract.post_args}"
+    system "chown -R root.admin ${destroot}/${prefix}/share/doc/lisp"
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071030/3c72be76/attachment.html


More information about the macports-changes mailing list