From 7262fe4a17499a4832c3f38c0f4c380530b69b59 Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Tue, 25 Jun 2024 09:50:42 -0400 Subject: [PATCH] scripts: dos.sh now runs with or without args --- scripts/dos.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/dos.sh b/scripts/dos.sh index 6a7b4ec..7e95299 100755 --- a/scripts/dos.sh +++ b/scripts/dos.sh @@ -1,4 +1,8 @@ #!/usr/bin/bash -pwsh -C "$@" +if [ "$#" -eq 0 ]; then + pwsh +else + pwsh -C "$@" +fi