summaryrefslogtreecommitdiffstats
path: root/bin/vervar
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vervar')
-rwxr-xr-xbin/vervar6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/vervar b/bin/vervar
index ce907da..480d98f 100755
--- a/bin/vervar
+++ b/bin/vervar
@@ -26,12 +26,8 @@ END {
if(error) {
exit(error)
}
- if(!ver){
- print prog ": error: ver field is missing (or zero)" | "cat 1>&2"
- exit(1)
- }
- if("" pkgver == ver){
+ if(!ver || "" pkgver == ver){
# Don't use the $_ver variable if $pkgver and $_ver are identical.
skipver = 1
vervar = "pkgver"