Skip to content

Commit

Permalink
Silenced erroneous "git: not found" printout on solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
rickard-green authored and Erlang/OTP committed Feb 6, 2010
1 parent e76fa2f commit c6bf34b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions otp_build
Original file line number Diff line number Diff line change
@@ -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%
#

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c6bf34b

Please sign in to comment.