From 65ceb1f58e7c92633204c5b4817544df9d33c33d Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 30 Mar 2012 11:17:42 -0400 Subject: [PATCH] support for bedtools existing somewhere other than PATH --- scripts/makeBashScripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makeBashScripts.py b/scripts/makeBashScripts.py index 51b99d36..6b1a80dd 100644 --- a/scripts/makeBashScripts.py +++ b/scripts/makeBashScripts.py @@ -53,7 +53,7 @@ def main(): script = open('bin/' + old, 'w') script.write("#!/bin/sh\n") - script.write("bedtools " + new + " \"$@\"\n") + script.write("${0%/*}/bedtools " + new + " \"$@\"\n") script.close() if __name__ == "__main__":