From 3ea8227d6cdf2e2d2f0e5189cc965f752c9ee7de Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 6 Oct 2007 23:05:06 -0500 Subject: [PATCH] PPC images do not follow the 32/64 bit naming convention wget the windows dlls on windows nt --- misc/install.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/misc/install.sh b/misc/install.sh index 10c0bfc0df..baf05192ec 100755 --- a/misc/install.sh +++ b/misc/install.sh @@ -5,7 +5,7 @@ set +e # Case insensitive string comparison shopt -s nocaseglob -shopt -s nocasematch +#shopt -s nocasematch ensure_program_installed() { echo -n "Checking for $1..." @@ -47,7 +47,9 @@ case $uname_s in *CYGWIN_NT*) OS=windows-nt;; *CYGWIN*) OS=windows-nt;; *darwin*) OS=macosx;; + *Darwin*) OS=macosx;; *linux*) OS=linux;; + *Linux*) OS=linux;; esac # Architecture @@ -107,4 +109,12 @@ rm $BOOT_IMAGE.* > /dev/null 2>&1 wget http://factorcode.org/images/latest/$BOOT_IMAGE check_ret wget +if [[ $OS == windows-nt ]] ; then + wget http://factorcode.org/dlls/freetype6.dll + check_ret + wget http://factorcode.org/dlls/zlib1.dla + check_ret +fi + + ./$FACTOR_BINARY -i=$BOOT_IMAGE