Commit f15c630c authored by Dubiousjim's avatar Dubiousjim Committed by Natanael Copa

apkgrel: handle missing pkgrel in do_add

parent 97f790a7
......@@ -49,7 +49,10 @@ do_add () {
&& continue
[ -d "$f" ] && f="$f/APKBUILD"
old=$(show_plain "$f")
setto=$(($old + 1))
case $old in
[0-9]*) setto=$((old + 1));;
*) setto=0;;
esac
do_set "$f" || return 1
done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment