twain-sane: Use `system -W` instead of `cd`
--- 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