summaryrefslogtreecommitdiff
path: root/common/make_jar.sh
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-09-19 02:23:49 -0400
committerKris Maglione <maglione.k@gmail.com>2010-09-19 02:23:49 -0400
commit952bb90f356d82d25048965edafe5bb3033d87b1 (patch)
tree6a3c8931c9c79be0f17f68bd034ba6972ee566bd /common/make_jar.sh
parent72be646c5bafbfbf749e9a75496a43b70b3fefa9 (diff)
downloadpentadactyl-952bb90f356d82d25048965edafe5bb3033d87b1.tar.gz
Fix make_jar.sh; add missing components.
Diffstat (limited to 'common/make_jar.sh')
-rw-r--r--common/make_jar.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/make_jar.sh b/common/make_jar.sh
index aee40095..b905bafc 100644
--- a/common/make_jar.sh
+++ b/common/make_jar.sh
@@ -16,8 +16,9 @@ mkdir -p $stage
if hg root >/dev/null 2>&1
then
root="$(hg root)"; mf="$(hg mf)"
+ find=$(which find)
find() {
- set -x
+ $find "$@" -name '*.jar'
echo "$mf" | sed -n "s!$(pwd | sed "s!$root/\?!!")/\?!!p" |
grep "^$1"
}