diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-25 22:47:48 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-25 22:47:48 +0200 |
| commit | 8de94346a4e6935c95658e113264358e6b927a88 (patch) | |
| tree | 513211b2f73bf49e1966b85c7bb33e65747f5b1d /scripts | |
| parent | eff01a75ffd024cb8c0f30410aa304b7c12c1795 (diff) | |
| parent | 21a5f16953c38f8fa5ab08bdb05d840103d2c44c (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/scan-tools.sh | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index b5d35183a..835606e60 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -176,16 +176,14 @@ if [[ $X != *@(Native compiler works)* ]]; then out=1 fi -if [[ ! -s /usr/include/ncurses.h ]]; then - if [[ ! -s /usr/include/curses.h ]]; then - if [[ ! -s /usr/include/ncurses/ncurses.h ]]; then - if [[ ! -s /usr/local/opt/ncurses/include/ncursesw/ncurses.h ]]; then - echo Install ncurses header files, please. - echo - out=1 - fi - fi - fi +if [[ ! -s /usr/include/ncursesw/curses.h && \ + ! -s /usr/include/ncurses.h && \ + ! -s /usr/include/curses.h && \ + ! -s /usr/include/ncurses/ncurses.h && \ + ! -s /usr/local/opt/ncurses/include/ncursesw/ncurses.h ]]; then + echo Install ncurses header files, please. + echo + out=1 fi if ! which wget >/dev/null 2>&1; then |
