diff options
author | Christian Kampka <christian@kampka.net> | 2015-11-06 23:19:38 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 22:08:13 +0100 |
commit | 30efd0e43057645d8286c5f65573d1b62077bb85 (patch) | |
tree | f84dece073bc6ea863764147a5ffb45363e46b36 /main/halberd/fix-script-include.patch | |
parent | cb280aeb7c2185f3de8c9331139b77d1a04bf334 (diff) | |
download | aports-30efd0e43057645d8286c5f65573d1b62077bb85.tar.bz2 aports-30efd0e43057645d8286c5f65573d1b62077bb85.tar.xz |
main/halberd: new upstream url, fix docs
Diffstat (limited to 'main/halberd/fix-script-include.patch')
-rw-r--r-- | main/halberd/fix-script-include.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/halberd/fix-script-include.patch b/main/halberd/fix-script-include.patch new file mode 100644 index 0000000000..a4fc3d5bcd --- /dev/null +++ b/main/halberd/fix-script-include.patch @@ -0,0 +1,16 @@ +diff --git scripts/halberd scripts/halberd +index cf01b1e..2b5c218 100755 +--- scripts/halberd ++++ scripts/halberd +@@ -20,8 +20,9 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +- +-import sys ++import sys, os ++if os.path.dirname(os.path.abspath(sys.argv[0])) == os.path.abspath("scripts"): ++ sys.path.insert(0, "./") + + import Halberd.shell + import Halberd.logger |