From a4b4e6bb962757a10e454ee014c5cb40d4eaccb3 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 2 Feb 2017 18:45:13 -0800 Subject: Use $OLDPWD --- pkg/python/gen.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/python') diff --git a/pkg/python/gen.rc b/pkg/python/gen.rc index 1052891a..981365c1 100644 --- a/pkg/python/gen.rc +++ b/pkg/python/gen.rc @@ -148,7 +148,7 @@ if(grep -q '^zlib' Setup) { libs=($libs zlib/libz.a) } -rule makesetup 'wd=$$PWD && cd $outdir && $$wd/$srcdir/Modules/makesetup -s $$wd/$srcdir -m - $$wd/$in' +rule makesetup 'cd $outdir && $$OLDPWD/$srcdir/Modules/makesetup -s $$OLDPWD/$srcdir -m - $$OLDPWD/$in' build '$outdir'/config.c makesetup '$dir'/Setup '|' '$srcdir'/Modules/^(makesetup config.c.in) cflags $cflags -- cgit v1.2.3