From 392c3f92302c0590e90bbe59bf9247c59a7d585d Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Thu, 22 Aug 2024 09:57:44 -0400 Subject: [PATCH] scripts: fixed 'cmd.sh' never passing arguments --- scripts/cmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmd.sh b/scripts/cmd.sh index 9f8c09d..cccd61c 100755 --- a/scripts/cmd.sh +++ b/scripts/cmd.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash -if [ "$#" -eq 0 ]; then +if [ "$#" -ne 0 ]; then args='' for arg in $@; do if [[ $arg =~ ^-.+$ ]]; then