From 943c6567fc90c3ac400fc336359b25cfebd0f1c6 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 14 Dec 2018 20:07:49 +0100 Subject: populate pass: set -efu --- pkgs/populate/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/populate') diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index dcb26b9..487f689 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -62,6 +62,8 @@ let pop.pass = target: source: let passPrefix = "${source.dir}/${source.name}"; in /* sh */ '' + set -efu + umask 0077 if test -e ${quote source.dir}/.git; then -- cgit v1.2.3