improve installation/build

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2004-01-03 23:49:46 +00:00
parent 99c5b6cc13
commit fb659f9b74
2 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh
rm -rf target > /dev/null 2>&1
. src/bash/maven.functions
compile . target/classes src/main
@ -8,8 +10,6 @@ isCommandSuccessful $? "Failed compiling Maven bootstrapper classes!"
DIST=target/mboot
rm -rf $DIST > /dev/null 2>&1
mkdir -p $DIST
cp -r target/classes $DIST

View File

@ -1,15 +1,23 @@
#!/bin/sh
echo ""
echo Maven MBoot
echo ""
if [ -z $MBOOT_HOME ]; then
echo
echo "Where would you like to install mboot? [ ~/mboot ] "
echo
read $DIR
read MBOOT_HOME
[ -z $DIR ] && DIR=~/mboot
[ -z $MBOOT_HOME ] && MBOOT_HOME=$HOME/mboot
export MBOOT_HOME
fi
DIR=$MBOOT_HOME
echo "Installing mboot in $DIR ..."