comparison build-data.sh @ 40:9cbb03e85597

Update to latest dmlib API changes.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 13 Apr 2013 02:16:31 +0300
parents ea2d19de8932
children 554e3f02ba6f
comparison
equal deleted inserted replaced
39:57d67886153e 40:9cbb03e85597
3 CPWD=`pwd` 3 CPWD=`pwd`
4 CPACKED="$CPWD/packed.bin" 4 CPACKED="$CPWD/packed.bin"
5 5
6 if test ! -x "$CPACKED"; then 6 if test ! -x "$CPACKED"; then
7 make -f Makefile clean 7 make -f Makefile clean
8 make -f Makefile EXEEXT=".bin" BINPATH="$CPWD" "$CPACKED" 8 make -f Makefile EXEEXT=".bin" BINPATH="$CPWD/" "$CPACKED"
9 fi 9 fi
10 10
11 cd "$CPWD/data" && $CPACKED -c -p "$CPWD/exe/$CPACKFILE" * 11 cd "$CPWD/data" && $CPACKED -c -p "$CPWD/exe/$CPACKFILE" *
12 12
13 if test ! -e "$CPWD/$CPACKFILE"; then 13 if test ! -e "$CPWD/$CPACKFILE"; then