Skip to content

Commit

Permalink
Added a script to see if a jar is an OSGi jar (see http://stackoverfl…
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Oct 19, 2013
1 parent 01f9283 commit 9237d52
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions isOSGi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
TMPDIR=tmposgi

mkdir ${TMPDIR}
cd ${TMPDIR}
jar xf ../$1 META-INF/MANIFEST.MF
grep -i bundle-symbolicname META-INF/MANIFEST.MF
cd ..
rm -rf ${TMPDIR}

0 comments on commit 9237d52

Please sign in to comment.