diff options
Diffstat (limited to 'otp_build')
-rwxr-xr-x | otp_build | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -169,7 +169,7 @@ determine_version_controller () # for the "otp_build" file being a Clearcase controlled # object. - if git rev-parse --git-dir 2>/dev/null >/dev/null; then + if { git rev-parse --git-dir; } 2>/dev/null >/dev/null; then version_controller=git else if test -d "otp_build@@/"; then @@ -225,6 +225,8 @@ set_config_flags () export CONFIG_FLAGS; } +NL="\ +" create_lib_configure_in() { cd $ERL_TOP @@ -241,7 +243,7 @@ create_lib_configure_in() lib/*) if [ -f "$lib_app/configure.in" ]; then app=`echo "$lib_app" | sed "s|lib/\(.*\)|\1|"` - sdirs="${sdirs}test ! -f $app/configure || AC_CONFIG_SUBDIRS($app/.)\n" + sdirs="${sdirs}test ! -f $app/configure || AC_CONFIG_SUBDIRS($app/.)${NL}" fi;; *) ;; @@ -258,7 +260,7 @@ create_lib_configure_in() done if [ $is_bapp = false ] && [ -f "$lib_app/configure.in" ]; then app=`echo "$lib_app" | sed "s|lib/\(.*\)|\1|"` - sdirs="${sdirs} test ! -f $app/configure || AC_CONFIG_SUBDIRS($app/.)\n" + sdirs="${sdirs} test ! -f $app/configure || AC_CONFIG_SUBDIRS($app/.)${NL}" fi done |