shellcheck: prevent globbing and word splitting in package shell scripts

This commit is contained in:
Otto Sabart 2022-08-25 21:00:00 +02:00
parent c3b97e6728
commit acd341426a
No known key found for this signature in database
GPG key ID: 823BAE99F8BE1E3C
7 changed files with 22 additions and 22 deletions

View file

@ -34,8 +34,8 @@ let
};
src = runCommand "src" {} ''
cp --no-preserve=mode -r ${origSrc} $out
cd $out
cp --no-preserve=mode -r '${origSrc}' "$out"
cd "$out"
patch -p1 < ${./release.nix.patch}
'';