Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
watch-my-terminal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run.sh: complain if not passed width/height
[watch-my-terminal.git]
/
run.sh
diff --git
a/run.sh
b/run.sh
index
8c9ce4b
..
205d5fd
100755
(executable)
--- a/
run.sh
+++ b/
run.sh
@@
-1,5
+1,9
@@
#!/bin/bash
# run from source directory
#!/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)
+script -f >(coffee server.coffee "$@" >log.txt 2>&1)