Created
January 29, 2018 11:34
-
-
Save pajswigger/7a63439ebf3a6c790cae9f297088e484 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
orig=$PWD | |
file=`basename $1` | |
mkdir -p "/tmp/$file" | |
cd "/tmp/$file" | |
jar -xf "$orig/$1" | |
find . -name \*.jar | while read JAR; do | |
jar -u0f "$orig/$1" $JAR | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment