summaryrefslogtreecommitdiff
path: root/jh-mksource.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-10 16:07:12 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-10 16:07:12 -0400
commit614f6cd4bf972b82ace294b8133122fdff5dc3a1 (patch)
tree779668e5dcdf7056be7d6acc392cf1163b90c27c /jh-mksource.sh
parent06d9a96e5b252d86418595dd1195a6f5ef69d462 (diff)
add 'checksource' and 'mksource'
Diffstat (limited to 'jh-mksource.sh')
-rw-r--r--jh-mksource.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jh-mksource.sh b/jh-mksource.sh
new file mode 100644
index 0000000..c40a739
--- /dev/null
+++ b/jh-mksource.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+quote_args() {
+ for arg in "$@"; do
+ quote "$arg"
+ printf ' '
+ done
+}
+
+echo "type mksource &>/dev/null && mksource; jh checksource $(quote_args "$@")"