Skip to content

Instantly share code, notes, and snippets.

@danslo
Created December 13, 2014 15:11
Show Gist options
  • Save danslo/b93bacdfa567ba43441f to your computer and use it in GitHub Desktop.
Save danslo/b93bacdfa567ba43441f to your computer and use it in GitHub Desktop.
diff --git a/hphp/util/generate-buildinfo.sh b/hphp/util/generate-buildinfo.sh
index b3365e0..77195f3 100755
--- a/hphp/util/generate-buildinfo.sh
+++ b/hphp/util/generate-buildinfo.sh
@@ -79,7 +79,7 @@ fi
if [ x"$HHVM_REPO_SCHEMA" = x"" ] ; then
HHVM_REPO_SCHEMA=$(sh -c "$find_files" | \
grep -v '^hphp/\(benchmarks\|bin\|hack\|hphp\|neo\|public_tld\|test\|tools\|util\|vixl\|zend\)' | \
- xargs -d '\n' cat | sha1sum | cut -b-40)
+ xargs -d '\n' cat | shasum -a 1 | cut -b-40)
fi
######################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment