summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-10-11 15:25:40 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-10-11 15:25:40 +0200
commit480cd4eb8237335f8df5052f50a7501360fd9bd9 (patch)
tree59db3dee213953fe5f647f20d236358a874cac23 /ymir.nix
parentadf83b4a126e8cbc232360b5fd050c6f5bd54379 (diff)
downloadnixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar
nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar.gz
nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar.bz2
nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar.xz
nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.zip
ditto
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 047c63b8..487fa07f 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -906,7 +906,7 @@ in rec {
906 git diff -z --name-only | \ 906 git diff -z --name-only | \
907 while IFS= read -r -d $'\0' change; do changeSet=(''${changeSet} ''${change}); done 907 while IFS= read -r -d $'\0' change; do changeSet=(''${changeSet} ''${change}); done
908 908
909 [[ ''${changeSet[(i)$(realpath ${2} --relative-to=''${repository})]} -le ''${#changeSet} ]] || exit 0 909 [[ ''${changeSet[(i)$(realpath ''${2} --relative-to=''${repository})]} -le ''${#changeSet} ]] || exit 0
910 910
911 commitMessage=$(printf "%s modified via infinoted" $(realpath ''${2} --relative-to=''${repository})) 911 commitMessage=$(printf "%s modified via infinoted" $(realpath ''${2} --relative-to=''${repository}))
912 git add ''${2} 912 git add ''${2}