VirtualBox

Changeset 68031 in vbox


Ignore:
Timestamp:
Jul 18, 2017 2:33:42 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117052
Message:

configure: simplify script, use printf as echo -n replacement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r67684 r68031  
    186186fi
    187187
    188 # darwin /bin/sh has a builtin echo that doesn't grok -n. gotta love it.
    189 if [ "$OS" = "darwin" ]; then
    190   ECHO_N="/bin/echo -n"
    191 elif [ "$OS" = "solaris" ]; then
    192   # Solaris 11 /bin/sh has a builtin echo that could grok -n if there is
    193   # /usr/ucb/echo the first echo executable in the path, but the /usr/ucb
    194   # tools are no longer installed by default.
    195   ECHO_N="/usr/gnu/bin/echo -n"
    196 else
    197   ECHO_N="echo -n"
    198 fi
     188# Posix /bin/sh isn't supporting echo -n. Use printf instead.
     189ECHO_N="printf"
    199190
    200191
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette