Changeset 26533


Ignore:
Timestamp:
Jun 27, 2007, 10:39:54 PM (13 years ago)
Author:
jmpp@…
Message:

Fix sed rule deleting unnecessary --delete flag: don't replace with no space, as that'll produde -rztv--delete

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Makefile.in

    r26497 r26533  
    8989                sed '/^rsync_options/s/"\(.*\)"/\1/' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
    9090                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
    91                 sed 's/ --delete //' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     91                sed 's/ --delete / /' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
    9292                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
    9393                sed 's/ ports.conf(5)/ macports.conf(5)/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     
    132132                sed '/^rsync_options/s/"\(.*\)"/\1/' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
    133133                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
    134                 sed 's/ --delete //' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     134                sed 's/ --delete / /' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
    135135                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
    136136                sed 's/ ports.conf(5)/ macports.conf(5)/g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
  • trunk/base/portmgr/dmg/preflight

    r26532 r26533  
    8383  sed '/^rsync_options/s/"\(.*\)"/\1/' /opt/local/etc/macports/macports.conf > /opt/local/etc/macports/macports.conf.tmp && \
    8484    mv -v /opt/local/etc/macports/macports.conf.tmp /opt/local/etc/macports/macports.conf
    85   sed 's/ --delete //' /opt/local/etc/macports/macports.conf > /opt/local/etc/macports/macports.conf.tmp && \
     85  sed 's/ --delete / /' /opt/local/etc/macports/macports.conf > /opt/local/etc/macports/macports.conf.tmp && \
    8686    mv -v /opt/local/etc/macports/macports.conf.tmp /opt/local/etc/macports/macports.conf
    8787  sed 's/ ports.conf(5)/ macports.conf(5)/g' /opt/local/etc/macports/macports.conf > /opt/local/etc/macports/macports.conf.tmp && \
     
    113113  sed '/^rsync_options/s/"\(.*\)"/\1/' ${HOME}/.macports/macports.conf > ${HOME}/.macports/macports.conf.tmp && \
    114114    mv -v ${HOME}/.macports/macports.conf.tmp ${HOME}/.macports/macports.conf
    115   sed 's/ --delete //' ${HOME}/.macports/macports.conf > ${HOME}/.macports/macports.conf.tmp && \
     115  sed 's/ --delete / /' ${HOME}/.macports/macports.conf > ${HOME}/.macports/macports.conf.tmp && \
    116116    mv -v ${HOME}/.macports/macports.conf.tmp ${HOME}/.macports/macports.conf
    117117  sed 's/ ports.conf(5)/ macports.conf(5)/g' ${HOME}/.macports/macports.conf > ${HOME}/.macports/macports.conf.tmp && \
Note: See TracChangeset for help on using the changeset viewer.