aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2015-10-31 19:27:47 -0400
committerSasha Levin <sasha.levin@oracle.com>2015-10-31 19:30:04 -0400
commit82ddab845c713062d502f2e915b864af8776b7fb (patch)
treec7fe4661feb1114e14dd62887bd395692a8a4e4e
parent33d2716da0c53e2b7da8307a3c4536985c2252e7 (diff)
downloadstable-tools-82ddab845c713062d502f2e915b864af8776b7fb.tar.gz
Trivial wrapper for future scripts
Adds a 'stable' command wrapper a-la 'git' so that we can call future commands with 'stable <command name>'. Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-rwxr-xr-xstable8
1 files changed, 8 insertions, 0 deletions
diff --git a/stable b/stable
new file mode 100755
index 0000000..8c523ca
--- /dev/null
+++ b/stable
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ "$#" -eq 0 ]; then
+ echo "Usage: stable <command name> [args]"
+ exit 1
+fi
+
+stable-$1 "${@:2}"