view test-lily/test-darwin-gub.sh @ 6481:c9f348420ef1

w32api: rename DATADIR to MINGW_DATADIR.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 03 Feb 2011 19:55:51 +0100
parents 15824a27fa08
children
line wrap: on
line source

#!/bin/sh

directory="$HOME/$1"
shift
filename="$1"
shift
testfile="$1"

set -x
if test ! -d $directory; then
  mkdir -p $directory
  if test "$?" != "0"; then
    exit 1;
  fi
fi
cd $directory

rm -rf LilyPond.app
tar xjf $filename
./LilyPond.app/Contents/Resources/bin/lilypond $testfile