From: Zac Medico Date: Mon, 10 Aug 2009 22:28:00 +0000 (-0000) Subject: This is an unused commandline interface to xpak.xpak(). X-Git-Tag: v2.2_rc39~117 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcfea185d56a46495a01f650a6dbad59fb27e39c;p=portage.git This is an unused commandline interface to xpak.xpak(). svn path=/main/trunk/; revision=13988 --- diff --git a/bin/xpak b/bin/xpak deleted file mode 100755 index 4fc1eb9fb..000000000 --- a/bin/xpak +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -O -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -import sys, os -if len(sys.argv)!=3: - print "xpak: expecting three arguments." - sys.exit(1) - -try: - import xpak -except ImportError: - from os import path as osp - sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym")) - import xpak - -xpak.xpak(sys.argv[1],sys.argv[2])