/jEdit/tags/jedit-4-2-pre4/installer/mk_installer.sh
Shell | 19 lines | 11 code | 4 blank | 4 comment | 1 complexity | 3fda17fcb4cd79c64b923d6f9b9639f0 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- #!/bin/sh
- # This script must be run from the jEdit directory, *not* the installer
- # directory!!!
- if [ "$1" = "" ]; then
- echo "Must specify a command line parameter."
- exit 1
- fi
- # By default, put it in your home directory
- DESTDIR=$HOME
- jar cf0m $DESTDIR/jedit${1}install.jar installer/install.mf \
- installer/install.props \
- installer/*.html \
- installer/*.class \
- installer/jedit-*.tar.bz2 \
- jedit.1