From e17921e9fbe08900b3368820ad5289210c7cf3fd Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 1 Aug 2024 02:27:13 -0700 Subject: [PATCH] arg splitting --- service.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service.nix b/service.nix index 37e60ff..d090377 100644 --- a/service.nix +++ b/service.nix @@ -17,7 +17,9 @@ in script = writeShellScriptBin execName '' while IFS="" read -r p || [ -n "$p" ] do - echo "$p" + args=($p) + echo ''${args[0]} + echo ''${args[1]} done < "${config.repo-clone.pkg}" ''; in