Skip to content
Snippets Groups Projects
Commit 991652c9 authored by Natanael Copa's avatar Natanael Copa
Browse files

newapkbuid: fix pkgver in source

parent a57baec7
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ newaport() {
-e "s/^pkgver=.*/pkgver=$pv/" \
"$datadir"/sample.APKBUILD > APKBUILD || return 1
if [ -n "$source" ]; then
source=$(echo "$source" | sed "s/$pv/\$pkgver/g")
sed -i -e "/^source=/s|=.*|=\"$source\"|" APKBUILD || return 1
fi
#-e '1,/^\#$/d' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment