diff -uNr go-9999.orig/src/make.bash go-9999/src/make.bash --- go-9999.orig/src/make.bash 2012-02-16 18:12:29.022073650 +0200 +++ go-9999/src/make.bash 2012-02-16 18:14:41.343075384 +0200 @@ -82,6 +82,20 @@ ./cmd/dist/dist bootstrap $buildall -v # builds go_bootstrap # Delay move of dist tool to now, because bootstrap may clear tool directory. mv cmd/dist/dist $GOTOOLDIR/dist +mv $GOTOOLDIR/6l{,.orig} +cat <<'EOF' >$GOTOOLDIR/6l +#!/bin/bash +BIN="6.out" +for (( i = 1 ; i <= $# ; i++ )); do + if [ "x${!i}" = "x-o" ]; then + i=$(( i + 1 )) + BIN="${!i}" + fi +done +$(dirname $0)/6l.orig "$@" && paxctl -cm "$BIN" &>/dev/null +EOF +chmod +x $GOTOOLDIR/6l +paxctl -cm $GOTOOLDIR/go_bootstrap &>/dev/null $GOTOOLDIR/go_bootstrap clean -i std echo