From d738a2b24468dca151b1927fdadabbb22e548726 Mon Sep 17 00:00:00 2001 From: Roy Nilsson Date: Thu, 21 Dec 2023 12:33:47 +0100 Subject: [PATCH] Fix typo causing files to not be found --- compile.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/compile.sh b/compile.sh index 529a7f2..a80707e 100755 --- a/compile.sh +++ b/compile.sh @@ -6,12 +6,8 @@ files="$1" compiler="$2" options="$3" -echo "Workspace: $GITHUB_WORKSPACE" -cd "$GITHUB_WORKSPACE" -ls -lh ./ - for f in $files; do - if [-f "$f" ]; then + if [ -f "$f" ]; then echo "Compiling '$f'.." $compiler $options $f else