From 5ee8857e76faa3dbcbee50e47801c572b7524636 Mon Sep 17 00:00:00 2001 From: Sander Date: Thu, 25 Apr 2024 19:54:22 +0000 Subject: [PATCH] Fix syntax --- dist/main/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main/index.js b/dist/main/index.js index 633cacba..652f280b 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -7973,7 +7973,7 @@ async function registerPostBuildHook(cachixBin, daemonDir) { done | xargs } - if [[ -n $PUSH_FILTER ]]; then + if [ -n "$PUSH_FILTER" ]; then OUT_PATHS=$(filterPaths $PUSH_FILTER "$OUT_PATHS") fi diff --git a/src/main.ts b/src/main.ts index 127f39ab..82598840 100644 --- a/src/main.ts +++ b/src/main.ts @@ -292,7 +292,7 @@ async function registerPostBuildHook(cachixBin: string, daemonDir: string) { done | xargs } - if [[ -n $PUSH_FILTER ]]; then + if [ -n "$PUSH_FILTER" ]; then OUT_PATHS=$(filterPaths $PUSH_FILTER "$OUT_PATHS") fi