aboutsummaryrefslogtreecommitdiffstats
path: root/build_jar.sh
diff options
context:
space:
mode:
authorJesse Jaggars <jjaggars@redhat.com>2011-08-16 14:59:40 -0500
committerJesse Jaggars <jjaggars@redhat.com>2011-08-16 15:03:13 -0500
commit8d8f6a5e2b832e7501174152c2f4903f85cba23a (patch)
tree55128fe7e6751225a941b41f88acd4177dea6961 /build_jar.sh
parent2ed23805766908a17fc8093d190e37ebfa086dd2 (diff)
downloadsos-8d8f6a5e2b832e7501174152c2f4903f85cba23a.tar.gz
no longer need to embed sosreport into a standalone jython jar
Diffstat (limited to 'build_jar.sh')
-rwxr-xr-xbuild_jar.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/build_jar.sh b/build_jar.sh
index f2ad843f..e5517bce 100755
--- a/build_jar.sh
+++ b/build_jar.sh
@@ -1,7 +1,5 @@
#!/bin/bash
-JYTHON_STANDALONE_JAR=$1
-
BUILD_DIR=buildjar
DEST_JAR=$BUILD_DIR/sosreport.jar
PO_DIR=$BUILD_DIR/sos/po
@@ -23,8 +21,8 @@ done
echo "Duplicating en ..."
cp $PO_DIR/en.properties $PO_DIR/en_US.properties
-echo "Pulling in standalone jython.jar ..."
-cp $JYTHON_STANDALONE_JAR $DEST_JAR
+echo "Removing .class files"
+find sos -name "*.class" | xargs rm
echo "Adding in sos ..."
zip -r $DEST_JAR sos