14 lines
248 B
Bash
14 lines
248 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
export BASE_DIR="`dirname $0`"
|
||
|
|
||
|
if test -z "$NO_MAKE"; then
|
||
|
make -C "$BASE_DIR/../" > /dev/null || exit 1
|
||
|
fi
|
||
|
|
||
|
if test -z "$CUTTER"; then
|
||
|
CUTTER="`make -s -C "$BASE_DIR" echo-cutter`"
|
||
|
fi
|
||
|
|
||
|
"$CUTTER" -s "$BASE_DIR" "$@" "$BASE_DIR"
|