#!/bin/sh
#
# Creates another application startup script by copying the "feather" script to "feathers", but changing the
# mainClassName
#

./gradlew installDist
sed -e 's/uk.co.nickthecoder.feather.Feather/uk.co.nickthecoder.feather.Feathers/g' build/install/feather/bin/feather > src/dist/bin/feathers
sed -e 's/uk.co.nickthecoder.feather.Feather/uk.co.nickthecoder.feather.Feathers/g' build/install/feather/bin/feather.bat > src/dist/bin/feathers.bat
./gradlew installDist
