Minor changes to fix.sh.

This commit is contained in:
David Capello 2010-07-05 22:38:51 -03:00
parent 63798943e1
commit e97aa018a3

14
fix.sh
View File

@ -10,7 +10,7 @@ readln()
###################################################################### ######################################################################
# platform # platform
readln "What platform (unix/djgpp/mingw32)?" "unix" readln "What platform (linux/mingw)?" "linux"
platform=$ans platform=$ans
###################################################################### ######################################################################
@ -34,7 +34,7 @@ memleak=$ans
###################################################################### ######################################################################
# prefix # prefix
if [ X"$platform" = X"unix" ] ; then if [ X"$platform" = X"linux" ] ; then
readln "Where do you want install ASE by default?" "/usr/local" readln "Where do you want install ASE by default?" "/usr/local"
prefix=$ans prefix=$ans
else else
@ -45,9 +45,8 @@ fi
# show information # show information
case "$platform" in case "$platform" in
"unix" ) platform_name="Unix" ;; "linux" ) platform_name="Linux" ;;
"djgpp" ) platform_name="DOS (djgpp)" ;; "mingw" ) platform_name="Windows (Mingw32)" ;;
"mingw32" ) platform_name="Windows (Mingw32)" ;;
"*" ) exit ;; "*" ) exit ;;
esac esac
@ -76,9 +75,8 @@ if [ X"$ans" != X"y" ] ; then exit ; fi
# generate the makefile # generate the makefile
case "$platform" in case "$platform" in
"unix" ) makefile_name="makefile.linux" ;; "linux" ) makefile_name="makefile.linux" ;;
"djgpp" ) makefile_name="makefile.dj" ;; "mingw" ) makefile_name="makefile.mingw" ;;
"mingw32" ) makefile_name="makefile.mingw" ;;
"*" ) exit ;; "*" ) exit ;;
esac esac