forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove superflouos invokations of ./otp_build autoconf
- Loading branch information
1 parent
06023ba
commit 132b0f4
Showing
4 changed files
with
3 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,6 @@ | ||
#!/bin/sh | ||
|
||
## We create a tar ball that has generated configure | ||
## (old versions might not have these included) | ||
## This is used later by build-otp-tar to create | ||
## the pre-built tar ball | ||
## We create a tar ball that is used later by build-otp-tar | ||
## to create the pre-built tar ball | ||
|
||
if [ -f ./configure ]; then | ||
git archive --prefix otp/ -o otp_src.tar.gz HEAD | ||
else | ||
ERL_TOP=`pwd` | ||
./otp_build autoconf | ||
find . -name aclocal.m4 | xargs git add -f | ||
find . -name configure | xargs git add -f | ||
find . -name config.h.in | xargs git add -f | ||
find . -name config.guess | xargs git add -f | ||
find . -name config.sub | xargs git add -f | ||
find . -name install-sh | xargs git add -f | ||
if ! git config user.name; then | ||
git config user.email "[email protected]" | ||
git config user.name "Your Name" | ||
fi | ||
git commit --no-verify -m 'Add generated configure files' | ||
git archive --prefix otp/ -o otp_src.tar.gz HEAD | ||
git reset --hard HEAD~1 | ||
fi | ||
git archive --prefix otp/ -o otp_src.tar.gz HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters