diff options
author | Utku Demir <me@utdemir.com> | 2020-06-21 12:11:56 +1200 |
---|---|---|
committer | Utku Demir <me@utdemir.com> | 2020-06-21 12:35:39 +1200 |
commit | 4bff5b7f3d2bfd1705a10ee7f85d2494ac7bac9f (patch) | |
tree | 62fcdd7ea8c554f02940be507e9b12c9ec5ddb23 /pkgs/build-support | |
parent | f1d7a09146678b60f78b08c2dec3ce14dc59499f (diff) |
dockerTools: Properly quote a shell variable
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/docker/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 11d5c2b364288..7ff325382a6b5 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -333,7 +333,7 @@ rec { chmod ug+w layer - if [[ -n $extraCommands ]]; then + if [[ -n "$extraCommands" ]]; then (cd layer; eval "$extraCommands") fi |