From 6c6085f2c22f8fbd90a3d3ce127e9f05bd5c91c3 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Thu, 1 Aug 2024 22:40:38 +0200 Subject: [PATCH] woodpecker: fix typo in shebang and missing text in warning Found this while searching for #!/bin/sh, I forgot the ! --- .../tools/continuous-integration/woodpecker/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/woodpecker/common.nix b/pkgs/development/tools/continuous-integration/woodpecker/common.nix index b273b913b255..1bb8d45f7c44 100644 --- a/pkgs/development/tools/continuous-integration/woodpecker/common.nix +++ b/pkgs/development/tools/continuous-integration/woodpecker/common.nix @@ -21,8 +21,8 @@ in mv -- "$f" "woodpecker" # Issue a warning to the user if they call the deprecated executable cat >woodpecker-cli << EOF - #/bin/sh - echo 'WARNING: calling `woodpecker-cli` is deprecated, use `woodpecker` instead.' >&2 + #!/bin/sh + echo 'WARNING: calling \`woodpecker-cli\` is deprecated, use \`woodpecker\` instead.' >&2 $out/bin/woodpecker "\$@" EOF chmod +x woodpecker-cli