mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-28 17:30:40 +00:00
22 lines
410 B
Bash
Executable File
22 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
|
|
TMP=$(mktemp -d)
|
|
if [ -z ${TMP} ]
|
|
then
|
|
echo "Problem creating TEMP directory; aborting!"
|
|
exit 1
|
|
fi
|
|
|
|
pushd build
|
|
for JAR in $(find . -name "*.jar" -a -not -name "*-sources.jar" -a -not -name "*-javadoc.jar")
|
|
do
|
|
echo "Checking ${JAR}..."
|
|
unzip -qq -d ${TMP} ${JAR}
|
|
find ${TMP} -name "*.class" | xargs file -b | sort -u
|
|
rm -rf ${TMP}/*
|
|
echo
|
|
done
|
|
popd
|
|
|
|
rm -rf ${TMP}
|