From b62dc025be931850eeaa8d58878c8c90a7f158dd Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Mon, 24 Aug 2015 11:54:55 -0400 Subject: [PATCH] run.sh: complain if not passed width/height --- run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.sh b/run.sh index a5cb085..205d5fd 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,9 @@ #!/bin/bash # run from source directory +if [ -z "$1" -o -z "$2" ]; then + echo "USAGE: $0 \$COLUMNS \$LINES" >&2 + exit 1 +fi script -f >(coffee server.coffee "$@" >log.txt 2>&1) -- 1.7.10.4