Revision
133336
Author
larryv@macports.org
Date
2015-02-26 09:09:42 -0800 (Thu, 26 Feb 2015)

Log Message

twain-sane: Use `system -W` instead of `cd`

Modified Paths

Diff

Modified: trunk/dports/graphics/twain-sane/Portfile (133335 => 133336)


--- trunk/dports/graphics/twain-sane/Portfile	2015-02-26 17:08:44 UTC (rev 133335)
+++ trunk/dports/graphics/twain-sane/Portfile	2015-02-26 17:09:42 UTC (rev 133336)
@@ -55,7 +55,7 @@
 
 pre-build {
     # Generate Info.plist
-    system "cd ${build.dir} && ./Info.sh > Info.plist"
+    system -W ${build.dir} {./Info.sh > Info.plist}
 }
 
 destroot.violate_mtree  yes