~tyil/rakudo-star

04bf1860f63644e23454c92a133c9b502129a2fb — Patrick Spek 11 days ago af1b1d9
Remove --strip-components from tar during fetch

--strip-components is only available in GNU tar, making it unreliable in
OpenBSD environments.
2 files changed, 4 insertions(+), 4 deletions(-)

M lib/actions/fetch.bash
M lib/actions/install.bash
M lib/actions/fetch.bash => lib/actions/fetch.bash +1 -1
@@ 50,7 50,7 @@ download_core() {
	mkdir -p -- "$destination"

	tarball="$(fetch_http "$source")" \
		&& tar xzf "$tarball" -C "$destination" --strip-components=1 \
		&& tar xzf "$tarball" -C "$destination" \
		&& return

	crit "Failed to download $destination"

M lib/actions/install.bash => lib/actions/install.bash +3 -3
@@ 139,7 139,7 @@ action_install_modules() {
build_moarvm() {
	info "Starting build on MoarVM"

	build_prepare "$BASEDIR/src/moarvm-$VERSION" || return
	build_prepare "$BASEDIR/src/moarvm-$VERSION/MoarVM-$VERSION" || return
	perl Configure.pl \
		"$@" \
		&& make \


@@ 150,7 150,7 @@ build_moarvm() {
build_nqp() {
	info "Starting build on NQP"

	build_prepare "$BASEDIR/src/nqp-$VERSION" || return
	build_prepare "$BASEDIR/src/nqp-$VERSION/nqp-$VERSION" || return
	perl Configure.pl \
		--backend="$RSTAR_BACKEND" \
		"$@" \


@@ 162,7 162,7 @@ build_nqp() {
build_rakudo() {
	info "Starting build on Rakudo"

	build_prepare "$BASEDIR/src/rakudo-$VERSION" || return
	build_prepare "$BASEDIR/src/rakudo-$VERSION/rakudo-$VERSION" || return
	perl Configure.pl \
		--backend="$RSTAR_BACKEND" \
		"$@" \