Changeset b65ac45 in freewrt


Ignore:
Timestamp:
Mar 21, 2007, 7:31:27 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
512f2f5
Parents:
2aa5e7a
Message:

handle the case where /usr/bin/ed is before /bin/ed in the $PATH,
mentioned by Christian Fr?mel on the mailing list

Note: the check if it's in /bin is still only a standards compliance
warning; FreeWRT _should_ build with ed in some other location in the
PATH. But other applications might not expect it missing.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2220 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/scan-tools.sh

    r2aa5e7a rb65ac45  
    341341        echo
    342342        out=1
    343 elif [[ "$(which ed 2>/dev/null)" != /bin/ed ]]; then
     343elif [[ "$(PATH=/bin:$PATH which ed 2>/dev/null)" != /bin/ed ]]; then
    344344        echo Your operating system installs ed, the standard text
    345345        echo editor, not as /bin/ed. While you can build FreeWRT
Note: See TracChangeset for help on using the changeset viewer.