Changeset 104926


Ignore:
Timestamp:
Apr 5, 2013, 4:43:09 AM (7 years ago)
Author:
larryv@…
Message:

python*: Use "system -W" instead of "system 'cd'".

Location:
trunk/dports/lang
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/python24/Portfile

    r91638 r104926  
    164164    post-configure {
    165165        # See http://trac.macports.org/ticket/18376
    166         system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     166        system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    167167    }
    168168    if {${os.major} >= 9} {
     
    214214   }
    215215   post-configure {
    216       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
     216      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    217217   }
    218218}
  • trunk/dports/lang/python25/Portfile

    r100924 r104926  
    7171
    7272        # http://trac.macports.org/ticket/21517
    73         system "cd ${worksrcpath} && ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
    74         system "cd ${worksrcpath} && ed - Lib/locale.py < ${filespath}/locale.py.ed"
     73        system -W ${worksrcpath} "ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
     74        system -W ${worksrcpath} "ed - Lib/locale.py < ${filespath}/locale.py.ed"
    7575}
    7676
     
    152152   post-configure {
    153153      # See http://trac.macports.org/ticket/18376
    154       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     154      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    155155   }
    156156   if {${os.major} >= 10} {
     
    206206   }
    207207   post-configure {
    208       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
     208      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    209209   }
    210210}
  • trunk/dports/lang/python26/Portfile

    r91974 r104926  
    7373
    7474   # http://trac.macports.org/ticket/21517
    75    system "cd ${worksrcpath} && ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
    76    system "cd ${worksrcpath} && ed - Lib/locale.py < ${filespath}/locale.py.ed"
     75   system -W ${worksrcpath} "ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
     76   system -W ${worksrcpath} "ed - Lib/locale.py < ${filespath}/locale.py.ed"
    7777
    7878   if {${os.platform} == "darwin" && ${os.major} > 9} {
    7979      # http://trac.macports.org/ticket/21559
    80       system "cd ${worksrcpath} && ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
     80      system -W ${worksrcpath} "ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
    8181   }
    8282}
     
    135135   post-configure {
    136136      # See http://trac.macports.org/ticket/18376
    137       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     137      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    138138   }
    139139   post-patch {
     
    169169   }
    170170   post-configure {
    171       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
     171      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    172172   }
    173173}
  • trunk/dports/lang/python27/Portfile

    r98955 r104926  
    7575    if {${os.platform} == "darwin" && ${os.major} > 9} {
    7676        # http://trac.macports.org/ticket/21559
    77         system "cd ${worksrcpath} && ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
     77        system -W ${worksrcpath} "ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
    7878    }
    7979}
     
    132132    post-configure {
    133133        # See http://trac.macports.org/ticket/18376
    134         system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     134        system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    135135    }
    136136    post-patch {
  • trunk/dports/lang/python31/Portfile

    r92080 r104926  
    118118   post-configure {
    119119      # See http://trac.macports.org/ticket/18376
    120       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     120      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    121121   }
    122122   post-patch {
     
    152152   }
    153153   post-configure {
    154       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
     154      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    155155   }
    156156}
  • trunk/dports/lang/python32/Portfile

    r100925 r104926  
    114114   post-configure {
    115115      # See http://trac.macports.org/ticket/18376
    116       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     116      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    117117   }
    118118}
     
    143143   }
    144144   post-configure {
    145       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
     145      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    146146   }
    147147}
  • trunk/dports/lang/python33/Portfile

    r98210 r104926  
    118118   post-configure {
    119119      # See http://trac.macports.org/ticket/18376
    120       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
     120      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    121121   }
    122122}
     
    147147   }
    148148   post-configure {
    149       system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
     149      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    150150   }
    151151}
Note: See TracChangeset for help on using the changeset viewer.