mirror of
https://github.com/NixOS/nix
synced 2025-06-24 18:01:16 +02:00
test: Fix shellcheck by giving git-hashing scripts shebangs
This seems to be the way to do it now, even though I can't run them without setting at least one env var. I'll only fix shellcheck for now. Don't shoot the messenger. It isn't quite clear to me why the previous commit masked this problem, but I'm glad shellcheck has an effect or more effect now.
This commit is contained in:
parent
73060b4972
commit
77a8386022
2 changed files with 2 additions and 0 deletions
0
tests/functional/git-hashing/fixed.sh
Normal file → Executable file
0
tests/functional/git-hashing/fixed.sh
Normal file → Executable file
2
tests/functional/git-hashing/simple.sh
Normal file → Executable file
2
tests/functional/git-hashing/simple.sh
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh
|
||||
|
||||
repo="$TEST_ROOT/scratch"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue