summaryrefslogtreecommitdiffstats
path: root/lua-forge
diff options
context:
space:
mode:
authorVlad Glagolev2018-05-11 12:57:00 -0400
committerVlad Glagolev2018-05-11 12:57:00 -0400
commitc2356c51cb70e20439fabe3b082c4aee9778e5cb (patch)
tree9b64109f43c99e3e94b3d059ac8b9b260054b5b2 /lua-forge
parent460f336cceaa13487884b91e8d7adb3a407833e9 (diff)
lpeg: correct build failure
Diffstat (limited to 'lua-forge')
-rw-r--r--lua-forge/lpeg/HISTORY3
-rwxr-xr-xlua-forge/lpeg/INSTALL3
2 files changed, 5 insertions, 1 deletions
diff --git a/lua-forge/lpeg/HISTORY b/lua-forge/lpeg/HISTORY
index 685dce3353..de055fc6fc 100644
--- a/lua-forge/lpeg/HISTORY
+++ b/lua-forge/lpeg/HISTORY
@@ -1,3 +1,6 @@
+2018-05-11 Vlad Glagolev <stealth@sourcemage.org>
+ * INSTALL: correct build failure
+
2018-02-19 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.0.1
* INSTALL: create installation directory if it doesn't exist
diff --git a/lua-forge/lpeg/INSTALL b/lua-forge/lpeg/INSTALL
index 471ba60208..18e1cf2dc9 100755
--- a/lua-forge/lpeg/INSTALL
+++ b/lua-forge/lpeg/INSTALL
@@ -1,6 +1,7 @@
local LUA=$(installed_version lua) &&
-install -D -vm 755 *.so re.lua "$INSTALL_ROOT/usr/lib/lua/${LUA%.?}" &&
+install -vm 755 -d "$INSTALL_ROOT/usr/lib/lua/${LUA%.?}" &&
+install -vm 644 *.so re.lua "$INSTALL_ROOT/usr/lib/lua/${LUA%.?}" &&
# installing documentation
install -vm 755 -d "$INSTALL_ROOT/usr/share/doc/lpeg" &&