From e6da87096ed02fea85863743b90c29bd3aa3f723 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 May 2016 16:08:31 +0200 Subject: cleanup --- ymir.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ymir.nix b/ymir.nix index 969fabe1..3c5caf66 100644 --- a/ymir.nix +++ b/ymir.nix @@ -96,8 +96,8 @@ in rec { prefix=''${prefix:l} filename="$1" - [[ -z "''${prefix}" || -z "''${filename}" ]] && exit 2; - [[ ! -f "''${tmpFile}" || $(stat -c '%s' "''${tmpFile}") == "0" ]] && exit 3; + [[ -z "''${prefix}" || -z "''${filename}" ]] && exit 2 + [[ ! -f "''${tmpFile}" || $(stat -c '%s' "''${tmpFile}") == "0" ]] && exit 3 mkdir -p "''${baseDir}/''${prefix}" mv "''${tmpFile}" "''${baseDir}/''${prefix}/''${filename}" -- cgit v1.2.3