aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-05 18:12:55 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-05 18:12:55 +0000
commit5d1cda42673843136cc3e3ca0efc29efb0ee2afe (patch)
treededf49ea28fc664c14c5c3a1f3e14b84df3a7b45
parentI suck at syntax :P (diff)
downloadrbot-gentoo-5d1cda42673843136cc3e3ca0efc29efb0ee2afe.tar.gz
rbot-gentoo-5d1cda42673843136cc3e3ca0efc29efb0ee2afe.tar.bz2
rbot-gentoo-5d1cda42673843136cc3e3ca0efc29efb0ee2afe.zip
Make sure it always runs regardless of directory.
-rw-r--r--gentoo-scripts/earch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gentoo-scripts/earch.sh b/gentoo-scripts/earch.sh
index 752d628..67429ef 100644
--- a/gentoo-scripts/earch.sh
+++ b/gentoo-scripts/earch.sh
@@ -1,2 +1,3 @@
-~/earch $1 | tr '\n' ' '
+#!/bin/sh
+/usr/bin/python `dirname $0`/earch $1 | tr '\n' ' '
echo