From e15d5806f0d372077267774ebb7570ce5574e50d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 17 Aug 2006 05:48:11 +0000 Subject: [PATCH] Unlink temporary files now --- docs/makepo.sh.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/makepo.sh.php b/docs/makepo.sh.php index 4e0eeac..dde7865 100755 --- a/docs/makepo.sh.php +++ b/docs/makepo.sh.php @@ -64,6 +64,22 @@ foreach ($templates AS $paths) $template = preg_replace('#\{@\\"(.*?)\\"\}#ise', 'process_template_text(\'$1\')', $template); file_put_contents($paths['temp'], $template); + + $files[] = $paths['temp']; + $removelater[] = $paths['temp']; +} + +// ################################################################### +// run xgettext on all of the various files that we have now created + + + +// ################################################################### +// remove all the files we no longer need + +foreach ($removelater AS $path) +{ + unlink($path); } /*=====================================================================*\ -- 2.43.5