Skip to content

Commit

Permalink
Hopefully make autogen.sh run on solaris.
Browse files Browse the repository at this point in the history
git-svn-id: http://protobuf.googlecode.com/svn/trunk@132 630680e5-0e50-0410-840e-4b1c322b438d
  • Loading branch information
[email protected] committed May 1, 2009
1 parent ecb0b91 commit 8a7a531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# are automatically generated.

# Check that we're being run from the right directory.
if test ! -e src/google/protobuf/stubs/common.h; then
if test ! -f src/google/protobuf/stubs/common.h; then
cat >&2 << __EOF__
Could not find source code. Make sure you are running this script from the
root of the distribution tree.
__EOF__
exit 1
fi

if test ! -e gtest; then
if test ! -d gtest; then
echo "gtest bundle not present. Downloading gtest-1.3.0 automatically." >&2
set -ex
curl http://googletest.googlecode.com/files/gtest-1.3.0.tar.bz2 | tar jx
Expand Down

0 comments on commit 8a7a531

Please sign in to comment.