[145391] trunk/dports/graphics/dcraw/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Feb 3 18:32:00 PST 2016


Revision: 145391
          https://trac.macports.org/changeset/145391
Author:   ryandesign at macports.org
Date:     2016-02-03 18:31:59 -0800 (Wed, 03 Feb 2016)
Log Message:
-----------
dcraw: use "file exists" instead of synonym "file exist"

Modified Paths:
--------------
    trunk/dports/graphics/dcraw/Portfile

Modified: trunk/dports/graphics/dcraw/Portfile
===================================================================
--- trunk/dports/graphics/dcraw/Portfile	2016-02-04 01:58:36 UTC (rev 145390)
+++ trunk/dports/graphics/dcraw/Portfile	2016-02-04 02:31:59 UTC (rev 145391)
@@ -53,11 +53,11 @@
 post-destroot {
     xinstall -m 644 -W ${worksrcpath} dcraw.1 ${destroot}${prefix}/share/man/man1
     foreach locale ${my_locales} {
-        if {[file exist ${worksrcpath}/dcraw_${locale}.1]} {
+        if {[file exists ${worksrcpath}/dcraw_${locale}.1]} {
             xinstall -m 755 -d ${destroot}${prefix}/share/man/${locale}/man1
             xinstall -m 644 -W ${worksrcpath} dcraw_${locale}.1 ${destroot}${prefix}/share/man/${locale}/man1/dcraw.1
         }
-        if {[file exist ${worksrcpath}/build/dcraw_${locale}.mo]} {
+        if {[file exists ${worksrcpath}/build/dcraw_${locale}.mo]} {
             xinstall -m 755 -d ${destroot}${prefix}/share/locale/${locale}/LC_MESSAGES
             xinstall -m 644 -W ${worksrcpath}/build dcraw_${locale}.mo ${destroot}${prefix}/share/locale/${locale}/LC_MESSAGES/dcraw.mo
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160203/c1306a8e/attachment.html>


More information about the macports-changes mailing list