From b99beab2b48d3bc8130602d6e8907d8acb3deab3 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Wed, 11 Jan 2017 12:54:33 +0300 Subject: mysqlbackup: explicit path for find Shellcheck began to complain: SC2185: Some finds don't have a default path. Specify '.' explicitly --- modules/apps/mysqlbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apps/mysqlbackup.nix b/modules/apps/mysqlbackup.nix index 038394b..113d176 100644 --- a/modules/apps/mysqlbackup.nix +++ b/modules/apps/mysqlbackup.nix @@ -317,7 +317,7 @@ let log="${cfg.dumpDir}/$DATE/joblog.txt" { - cd '${privateDir}/jobs' && find -type l -printf '%P\n'; + cd '${privateDir}/jobs' && ${pkgs.findutils}/bin/find . -type l -printf '%P\n'; } | ${pkgs.parallel}/bin/parallel \ --halt-on-error 0 \ --joblog "$log" \ -- cgit v1.2.3