diff options
author | 2015-02-18 20:18:09 -0500 | |
---|---|---|
committer | 2015-02-18 20:22:11 -0500 | |
commit | 7cb3582b2cf2c8d49023b2c976e79bd0cb4db7c3 (patch) | |
tree | 4104ba359fb08375a98f3ff23f8fc333ffd7d0c2 /bin | |
parent | fix data file installs for py3 (diff) | |
download | pkgcore-7cb3582b2cf2c8d49023b2c976e79bd0cb4db7c3.tar.gz pkgcore-7cb3582b2cf2c8d49023b2c976e79bd0cb4db7c3.tar.bz2 pkgcore-7cb3582b2cf2c8d49023b2c976e79bd0cb4db7c3.zip |
condense "running in repo" vars down to one
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pwrapper | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/pwrapper b/bin/pwrapper index 505611371..9a2d710e4 100755 --- a/bin/pwrapper +++ b/bin/pwrapper @@ -29,12 +29,6 @@ if __name__ == '__main__': sys.stderr.write('Add --debug to the commandline for a traceback.\n') sys.exit(1) - os.environ.update({ - 'PKGCORE_SCRIPT_PATH': os.path.dirname(os.path.abspath(__file__)), - 'PKGCORE_BASH_PATH': os.path.join( - os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'bash'), - 'PKGCORE_CONFIG_PATH': os.path.join( - os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'config'), - }) + os.environ['PKGCORE_REPO_PATH'] = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) subcommands = getattr(script, 'argparser', None) commandline.main(subcommands) |