aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-02-06 01:53:39 +0000
committerErlang/OTP <[email protected]>2010-02-06 01:53:39 +0000
commitc6bf34b7035a6292650babf2eb8af80c19256fab (patch)
tree806175853b44890caaf66c2d88072cae41554d51 /otp_build
parente76fa2fb451a111196128afbc372d3b8b1e3dfad (diff)
downloadotp-c6bf34b7035a6292650babf2eb8af80c19256fab.tar.gz
otp-c6bf34b7035a6292650babf2eb8af80c19256fab.tar.bz2
otp-c6bf34b7035a6292650babf2eb8af80c19256fab.zip
Silenced erroneous "git: not found" printout on solaris.
Diffstat (limited to 'otp_build')
-rwxr-xr-xotp_build10
1 files changed, 5 insertions, 5 deletions
diff --git a/otp_build b/otp_build
index b7dc15bcc0..3e8c60ef52 100755
--- a/otp_build
+++ b/otp_build
@@ -1,20 +1,20 @@
#! /bin/sh
#
# %CopyrightBegin%
-#
+#
# Copyright Ericsson AB 2002-2010. All Rights Reserved.
-#
+#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
# compliance with the License. You should have received a copy of the
# Erlang Public License along with this software. If not, it can be
# retrieved online at http://www.erlang.org/.
-#
+#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
# the License for the specific language governing rights and limitations
# under the License.
-#
+#
# %CopyrightEnd%
#
@@ -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