diff options
author | Piotr Rogoża | 2015-06-14 14:47:28 +0200 |
---|---|---|
committer | Piotr Rogoża | 2015-06-14 14:47:28 +0200 |
commit | 4b398ab7c47c9d7e43523f989e020c16a4474c26 (patch) | |
tree | 5b44695b2de92664850e0cb9a1ad615630548a7d /unsermake-python2.patch | |
download | aur-unsermake.tar.gz |
Initial import
Diffstat (limited to 'unsermake-python2.patch')
-rw-r--r-- | unsermake-python2.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/unsermake-python2.patch b/unsermake-python2.patch new file mode 100644 index 000000000000..bae8a2d12592 --- /dev/null +++ b/unsermake-python2.patch @@ -0,0 +1,24 @@ +--- unsermake-20060706.orig/unsermake 2006-07-07 01:07:51.000000000 +0800 ++++ unsermake-20060706/unsermake 2007-07-24 11:35:39.000000000 +0800 +@@ -1,16 +1,12 @@ +-#! /bin/sh ++#!/bin/bash + +-self="$0" +-if test -L "$self"; then +- try=`readlink $self 2>/dev/null` && self=$try +-fi +-mods=`dirname $self` +-directory=`dirname $mods` +-mod=`basename $mods` ++mods=/usr/lib/python__version__/site-packages/unsermake ++directory=/usr/lib/python__version__/site-packages/unsermake ++mod=unsermake + if test -n "$PYTHONPATH"; then + export PYTHONPATH=$directory:$PYTHONPATH + else + export PYTHONPATH=$directory + fi +-exec python -c "import $mod; $mod.main()" --modules $mods "$@" ++exec python2.6 -c "import $mod; $mod.main()" --modules $mods "$@" + |