summaryrefslogtreecommitdiff
path: root/user/lua-socket/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/lua-socket/APKBUILD')
-rw-r--r--user/lua-socket/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/lua-socket/APKBUILD b/user/lua-socket/APKBUILD
index 16bfbcf40..89cbd7447 100644
--- a/user/lua-socket/APKBUILD
+++ b/user/lua-socket/APKBUILD
@@ -5,7 +5,7 @@ _name=luasocket
pkgver=3.0_rc1_git20160306
pkgrel=0
_ver=${pkgver%_git*}
-_ver=${_ver/_rc/-rc}
+_ver=$(printf '%s' "$_ver" | sed 's/_rc/-rc/')
pkgdesc="Networking library for Lua"
url="http://luaforge.net/projects/luasocket/"
arch="all"