summaryrefslogtreecommitdiffstats
path: root/bin/emirrordist
diff options
context:
space:
mode:
Diffstat (limited to 'bin/emirrordist')
-rwxr-xr-xbin/emirrordist13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/emirrordist b/bin/emirrordist
new file mode 100755
index 000000000..8d93de9c0
--- /dev/null
+++ b/bin/emirrordist
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+# Copyright 2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+import sys
+
+import portage
+portage._internal_caller = True
+portage._disable_legacy_globals()
+from portage._emirrordist.main import emirrordist_main
+
+if __name__ == "__main__":
+ sys.exit(emirrordist_main(sys.argv[1:]))