Skip to content
Browse files

Hack install script for DreamHost's broken bash :(

  • Loading branch information...
1 parent 28d8891 commit 88fa294b5a62e086c0242b1b1b94b07195921269 @bcat committed Apr 6, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 install
View
6 install
@@ -40,7 +40,9 @@
# Links:
# 1. Pinstein's original Rakefile is here <http://bit.ly/7WITQW>.
-script=$(cat <<'EOT'
+# XXX: Do not change this to a newer $(...) style command substitution; that
+# inexplicably breaks old versions of bash 3.
+script=`cat <<'EOT'
dont_replace () {
what=$1
@@ -144,7 +146,7 @@ EOU
fi
EOT
-)
+`
find \! \( -name . -o -name README -o -name install \) \
-a \( -name '.git*' -prune -o -exec sh -c "$script" "$0" "$@" {} + \)

0 comments on commit 88fa294

Please sign in to comment.
Something went wrong with that request. Please try again.