From bc24511d2d63a3c5b2b10766b91255c8433022e1 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 27 Nov 2005 05:41:38 +0000 Subject: [PATCH] * added parse-config to azazel, so it tweaks config via pkg_conf/$pkg.conf and apply pkg_patch/$pkg.patch --- parse-config | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 parse-config diff --git a/parse-config b/parse-config new file mode 100644 index 0000000..852139f --- /dev/null +++ b/parse-config @@ -0,0 +1,21 @@ +#!/bin/sh +# --- T2-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# T2 SDE: target/azazel/parse-config +# Copyright (C) 2004 - 2005 The T2 SDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- T2-COPYRIGHT-NOTE-END --- + +azazeldir=$base/target/$SDECFG_TRG_AZAZEL +# tweak config +[ ! -f $azazeldir/pkg_conf/$pkg.conf ] || . $azazeldir/pkg_conf/$pkg.conf +# append patches +[ ! -f $azazeldir/pkg_patch/$pkg.patch ] || var_append patchfiles ' ' $azazeldir/pkg_patch/$pkg.patch +unset azazeldir