woodpecker: fix typo in shebang and missing text in warning

Found this while searching for #!/bin/sh, I forgot the !
This commit is contained in:
Rick van Schijndel
2024-08-01 22:40:40 +02:00
parent e7ce68d67b
commit 6c6085f2c2
@@ -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