mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
update error grep
This commit is contained in:
parent
4335ba999b
commit
721943e1d4
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ invalid_ref() {
|
||||||
else
|
else
|
||||||
(! git check-ref-format --branch "$1" >/dev/null 2>&1)
|
(! git check-ref-format --branch "$1" >/dev/null 2>&1)
|
||||||
fi
|
fi
|
||||||
nix --debug eval --raw "(builtins.fetchGit { url = $repo; ref = ''$1''; }).outPath" 2>&1 | grep 'error: invalid Git branch/tag name' >/dev/null
|
nix --debug eval --raw "(builtins.fetchGit { url = $repo; ref = ''$1''; }).outPath" 2>&1 | grep 'invalid Git branch/tag name' >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue