summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 01:51:32 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 01:51:32 -0400
commite498fed9f196c50f79ddd395688689d8761ae134 (patch)
tree3bffbd5c65a62b323fdcc25342d8c173b9d7a4e8
parentce51d919bacc5a47a43c586aa5dadfa90d2494cd (diff)
Sourcing a file from Bash checks the path, I don't need to hard-code it
-rw-r--r--jh-help.sh2
-rw-r--r--jh-list-commands.sh2
-rw-r--r--jh-mvn-basename.sh2
-rw-r--r--jh-mvn-install.sh2
-rw-r--r--jh-mvn-localrepo.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/jh-help.sh b/jh-help.sh
index a88206c..31fbf6e 100644
--- a/jh-help.sh
+++ b/jh-help.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-. /usr/bin/jh
+. jh
case $# in
0) usage ''; exit 0;;
diff --git a/jh-list-commands.sh b/jh-list-commands.sh
index 290b4e1..143f6e7 100644
--- a/jh-list-commands.sh
+++ b/jh-list-commands.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-. /usr/bin/jh
+. jh
if [[ $# > 0 ]]; then
usage
diff --git a/jh-mvn-basename.sh b/jh-mvn-basename.sh
index 5b9dad4..776cc0e 100644
--- a/jh-mvn-basename.sh
+++ b/jh-mvn-basename.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-. /usr/bin/jh
+. jh
if [[ $# != 3 ]]; then
usage
diff --git a/jh-mvn-install.sh b/jh-mvn-install.sh
index 6f1fd19..23c0d6a 100644
--- a/jh-mvn-install.sh
+++ b/jh-mvn-install.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-. /usr/bin/jh
+. jh
if [[ $# != 5 ]]; then
usage
diff --git a/jh-mvn-localrepo.sh b/jh-mvn-localrepo.sh
index 32a91f0..14ea778 100644
--- a/jh-mvn-localrepo.sh
+++ b/jh-mvn-localrepo.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-. /usr/bin/jh
+. jh
if [[ $# > 0 ]]; then
usage