From 200e2f0328b6cfc6965d5399d7750df19eec6144 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 7 Aug 2017 14:14:47 +0100 Subject: completed refactoring from tags to commands --- scorsh.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scorsh.sh') diff --git a/scorsh.sh b/scorsh.sh index 4a3a0bd..fefac2d 100755 --- a/scorsh.sh +++ b/scorsh.sh @@ -7,7 +7,7 @@ ## func build_command(){ - TAG=$1 + CMD=$1 shift ARGS=$@ @@ -22,7 +22,7 @@ build_command(){ scorsh: [ { - s_tag: "$TAG", + s_cmd: "$CMD", s_args: [${ARGLIST}] } ] @@ -34,7 +34,7 @@ EOF if [ $# -le 0 ]; then - echo "Usage: $0 [...]" + echo "Usage: $0 [...]" exit 1 fi -- cgit v1.2.3