This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug] rebaseall


In addition, there should be a "picket fence" in front of those expression(s),
too.  Otherwise they match other lines that are not supposed to be deleted (the
DLL lines are probably safe, but could be changed defensively as well).
 
-----8<---------->8-----
*** c:/Programs/Cygwin/bin/rebaseall.orig	Thu May  3 08:01:47 2012
--- c:/Programs/Cygwin/bin/rebaseall	Thu May  3 08:53:42 2012
***************
*** 202,208 ****
        grep -E "\.($Suffixes)\$" |
        sed -e '/cygwin1\.dll$/d' -e '/cyglsa.*\.dll$/d' \
            -e '/sys-root\/mingw/d' -e 's/^/\//' \
!           -e '/d?ash\.exe$/d' -e '/rebase\.exe$/d' >"${TmpFile}"
      ;;
    mingw|msys)
      for f in /bin /lib
--- 202,208 ----
        grep -E "\.($Suffixes)\$" |
        sed -e '/cygwin1\.dll$/d' -e '/cyglsa.*\.dll$/d' \
            -e '/sys-root\/mingw/d' -e 's/^/\//' \
!           -e '/\/d?ash\.exe$/d' -e '/\/rebase\.exe$/d' >"${TmpFile}"
      ;;
    mingw|msys)
      for f in /bin /lib
***************
*** 210,217 ****
        find $f -type f |
          grep -E "\.($Suffixes)\$" |
  	sed -e '/msys-1\.0.*\.dll$/d' -e '/cygwin1\.dll$/d' \
! 	    -e '/cyglsa.*\.dll$/d' -e '/d?ash\.exe$/d' \
! 	    -e '/rebase\.exe$/d' >>"$TmpFile"
      done
      ;;
  esac
--- 210,217 ----
        find $f -type f |
          grep -E "\.($Suffixes)\$" |
  	sed -e '/msys-1\.0.*\.dll$/d' -e '/cygwin1\.dll$/d' \
! 	    -e '/cyglsa.*\.dll$/d' -e '/\/d\?ash\.exe$/d' \
! 	    -e '/\/rebase\.exe$/d' >>"$TmpFile"
      done
      ;;
  esac
-----8<---------->8-----

Regards,
Achim.





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]