mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-04 17:48:27 +00:00
ciscript: don't use an empty string as a number
An empty string is not a valid number, and some shells complain. Check instead if $COVERITY is non-empty, which is a common convention and what we're doing anyway.
This commit is contained in:
parent
891b0277af
commit
039e354b7d
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$COVERITY" -eq 1 ];
|
||||
if [ -n "$COVERITY" ];
|
||||
then
|
||||
./script/coverity.sh;
|
||||
exit $?;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user