From 34ea4ffa0ab13123bb5d34bfc9eb3498d92c5080 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sat, 9 Aug 2008 21:35:27 +0000 Subject: [PATCH] Fix error which I seem to get now for reading in persistent data. This method seems to be more reliable. svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=844529 --- kdesvn-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kdesvn-build b/kdesvn-build index a5656a0..0cbc37f 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -3302,7 +3302,10 @@ sub read_persistent_options # a hash called persistent-options which we can then merge into our # package_opts. - my $persistent_options = eval "my $persistent_data"; + my $persistent_options; + + # eval must appear after declaration of $persistent_options + eval $persistent_data; if ($@) { # Failed.