diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2015-10-31 19:27:47 -0400 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-31 19:30:04 -0400 |
commit | 82ddab845c713062d502f2e915b864af8776b7fb (patch) | |
tree | c7fe4661feb1114e14dd62887bd395692a8a4e4e | |
parent | 33d2716da0c53e2b7da8307a3c4536985c2252e7 (diff) | |
download | stable-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-x | stable | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/bash + +if [ "$#" -eq 0 ]; then + echo "Usage: stable <command name> [args]" + exit 1 +fi + +stable-$1 "${@:2}" |