1. ryanwsmith
  2. APKinspector

Source

APKinspector / dex2jar / .svn / text-base / dex2jar.sh.svn-base

The default branch has multiple heads

#!/bin/sh

# copy from $Tomcat/bin/startup.sh
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ] ; do
  ls=`ls -ld "$PRG"`
  link=`expr "$ls" : '.*-> \(.*\)$'`
  if expr "$link" : '/.*' > /dev/null; then
    PRG="$link"
  else
    PRG=`dirname "$PRG"`/"$link"
  fi
done
PRGDIR=`dirname "$PRG"`
#

_classpath="."
for k in $PRGDIR/lib/*.jar
do
 _classpath="${_classpath}:${k}"
done
java -Xms512m -Xmx1024m -classpath "${_classpath}" "pxb.android.dex2jar.v3.Main" $1 $2 $3 $4 $5 $6