/jEdit/tags/jedit-4-0-pre3/installer/mk_installer.sh
Shell | 19 lines | 11 code | 4 blank | 4 comment | 1 complexity | 0c61ca77579866efd213fbb428bcf84d 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 cfm $DESTDIR/jedit${1}install.jar installer/install.mf \
- installer/install.props \
- installer/*.html \
- installer/*.class \
- `cat installer/jedit-*` \
- installer/jedit-*