[COMMON] Fix ${foo:3[:1]} bashisms
[oom.git] / kubernetes / helm / plugins / undeploy / undeploy.sh
index 790f84f..72c6424 100755 (executable)
@@ -45,8 +45,8 @@ case "${1:-"help"}" in
     usage
     ;;
   *)
-    undeploy $1 ${@:2}
+    undeploy $1 $(echo ${@} | sed 's/^ *[^ ]* *//')
     ;;
 esac
 
-exit 0
\ No newline at end of file
+exit 0