From 5d2e8181659147fd87c08ec55e36007ec6250c8a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 20 May 2009 01:19:52 +0000 Subject: [PATCH] json4lua: adapted to the new lua-conf.in --- lua/json4lua/json4lua.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/json4lua/json4lua.conf b/lua/json4lua/json4lua.conf index f0c52e174..2c01ec637 100644 --- a/lua/json4lua/json4lua.conf +++ b/lua/json4lua/json4lua.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../json4lua/json4lua.conf -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2009 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -16,10 +16,10 @@ srcdir=json makeopt= makeinstopt= -json_install() -{ - mkdir -p "$root$pkgdatadir/json" - cp -v *.lua "$root$pkgdatadir/json/" +json_install() { + local x="$root$luadatadir/json" + mkdir -p "$x" + cp -v *.lua "$x" } hook_add postmake 5 'json_install'