summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-07-17 20:52:23 +0200
committerDaniel Mack <daniel@caiaq.de>2009-07-17 20:52:23 +0200
commit30fcda6cb5959af2a1911bb40bf769be6b554450 (patch)
tree39952c2fe0d16227b8ce1d721713a31f2e1d5872
parent3fc7b870fcd8b3cc7a6b73fd3d4449994860f4fc (diff)
Revert "make bootstrap.sh aware of Darwin environment"
This reverts commit 5f5867e08ab8821447faacece92dab1e0b993fe4.
-rwxr-xr-xbootstrap.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index a5bd9a78..aa9755fa 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -40,22 +40,10 @@ run_versioned() {
set -ex
-case $(uname) in
- *Darwin*)
- CP_OPTS="-R"
- CHMOD_OPTS=""
- LIBTOOLIZE="glibtoolize"
- ;;
- *)
- CP_OPTS="-av"
- CHMOD_OPTS="-c"
- ;;
-esac
-
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
echo "Activating pre-commit hook."
- cp ${CP_OPTS} .git/hooks/pre-commit.sample .git/hooks/pre-commit
- chmod ${CHMOD_OPTS} +x .git/hooks/pre-commit
+ cp -av .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ chmod -c +x .git/hooks/pre-commit
fi
if [ -f .tarball-version ]; then