Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freebsd support: sed portability #14

Merged
3 commits merged into from Jan 30, 2011
Merged

Freebsd support: sed portability #14

3 commits merged into from Jan 30, 2011

Commits on Jan 27, 2011

  1. non gnu sed: \+ is not a basic regular expression

    so use * instead
    Fneufneu committed Jan 27, 2011
    Copy the full SHA
    2d73a77 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2011

  1. do not hardcode make, use $MAKE instead

    Fneufneu committed Jan 28, 2011
    3
    Copy the full SHA
    6efacb9 View commit details
    Browse the repository at this point in the history
  2. install -D exist only on linux platform

    so replace it by two install command
    install -d folder
    install file
    
    find
    -regextype posix-extended
    does not exist on BSD and OSX.
    replace it with find -E
    
    -printf
    does not exist on BSD and OSX.
    replace it with -exec printf "%s" "{}"
    
    - install -D
    exec two commands separate by a -and
    Fneufneu committed Jan 28, 2011
    Copy the full SHA
    6bffbda View commit details
    Browse the repository at this point in the history