Changeset View
Changeset View
Standalone View
Standalone View
head/devel/lua-luacheck/files/patch-install.lua
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- install.lua.orig 2018-02-22 04:51:23 UTC | |||||
+++ install.lua | |||||
@@ -76,7 +76,7 @@ else | |||||
fh:write(([=[ | |||||
#!/bin/sh | |||||
exec "%s" -e "package.path=[[%s/../src/?.lua;%s/../src/?/init.lua;]]..package.path" "%s/luacheck.lua" "$@" | |||||
-]=]):format(args.lua, '$(dirname "$0")', '$(dirname "$0")', '$(dirname "$0")')) | |||||
+]=]):format(args.lua, '$(dirname $(realpath "$0"))', '$(dirname $(realpath "$0"))', '$(dirname $(realpath "$0"))')) | |||||
end | |||||
fh:close() |