Permalink
Browse files

Applied Christian Kampka's patch.

  • Loading branch information...
1 parent 5e36f1f commit 3d167a05dedf6c38d1a2210110917c8e9be48dc5 @jmbr committed Nov 7, 2015
Showing with 4 additions and 2 deletions.
  1. +1 −0 THANKS
  2. +3 −2 scripts/halberd
View
@@ -10,3 +10,4 @@ Dethy
Fabian Affolter
Sindre Pedersen Bjørdal
Andrés Riancho
+Christian Kampka
View
@@ -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

0 comments on commit 3d167a0

Please sign in to comment.