summaryrefslogtreecommitdiff
path: root/maintainer/am-ft
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-06-28 19:56:43 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-06-28 19:57:57 +0200
commit958a8a47cfc18faaf86a8be9eec3dd8589ffd2bd (patch)
tree5ee035aeca8ace592545a637cbd0c8875af36c0e /maintainer/am-ft
parente40a6145d47483802487e3dd13988c5b5069e18d (diff)
downloadautomake-958a8a47cfc18faaf86a8be9eec3dd8589ffd2bd.tar.gz
am-ft: make the environment available earlier
So that, with a PATH that is updated earlier, we can find the 'xz' program even on systems where it isn't in the default PATH. * maintainer/am-ft: Adjust accordingly. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'maintainer/am-ft')
-rwxr-xr-xmaintainer/am-ft6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintainer/am-ft b/maintainer/am-ft
index 1d227906e..bb07c165c 100755
--- a/maintainer/am-ft
+++ b/maintainer/am-ft
@@ -104,8 +104,7 @@ ssh -t -t $remote "
|| rm -rf $distdir || exit 1
test ! -e $distdir
fi
- xz -dc $tarball | tar xf -
- cd $distdir
+ export $env
"'
am_extra_acdir=$HOME/.am-test/extra-aclocal
am_extra_bindir=$HOME/.am-test/extra-bin
@@ -117,7 +116,8 @@ ssh -t -t $remote "
export PATH=$am_extra_bindir:$PATH
fi
'"
- export $env
+ xz -dc $tarball | tar xf -
+ cd $distdir
if test -f \"\$am_extra_setup\"; then
. \"\$am_extra_setup\"
fi