Skip to content

Fix ./makedist wrt. to GH move #6919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ if test "${2}" -lt "13" -o "${2}" -eq "13" -a "${3}" -lt "5"; then
fi
IFS="$old_IFS"

if test "x$PHPROOT" = "x"; then
PHPROOT=git@git.php.net:php-src.git;
if test "x$PHPROOT" != "x"; then
remote_option=--remote=$PHPROOT
else
remote_option=
fi

LT_TARGETS='ltconfig ltmain.sh config.guess config.sub'
Expand Down Expand Up @@ -72,7 +74,7 @@ fi

# Export PHP
$ECHO_N "makedist: exporting tag 'php-$VER' from '$PHPROOT'...$ECHO_C"
git archive --format=tar --remote=$PHPROOT refs/tags/php-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD; tar xvf -) || exit 4
git archive --format=tar $remote_option refs/tags/php-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD; tar xvf -) || exit 4
echo ""

cd $DIR || exit 5
Expand Down