提交 3c2adf09 编写于 作者: K kohsuke

re-adding as a binary file


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1384 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c1fc1405
#!/bin/sh
if [ "$HUDSON_HOME" = "" ]; then
echo HUDSON_HOME is not set
exit 1
fi
# search the installation directory
PRG=$0
progname=`basename $0`
saveddir=`pwd`
cd "`dirname $PRG`"
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
BINDIR=`dirname "$PRG"`/..
# make it fully qualified
cd "$saveddir"
BINDIR="`cd "$BINDIR" && pwd`"
exec java -jar "$BINDIR/lib/hudson-*.jar" "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册