From cc6a2901ab73417816a4b7426cc55b35d2828d09 Mon Sep 17 00:00:00 2001 From: darin Date: Sun, 5 Feb 2006 01:03:46 +0000 Subject: [PATCH] * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old Configuration files that say Development or Deployment in them. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12561 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebKitTools/ChangeLog | 5 +++++ WebKitTools/Scripts/webkitdirs.pm | 3 +++ 2 files changed, 8 insertions(+) diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog index e4f0cbbca019..ea4c803ccf19 100644 --- a/WebKitTools/ChangeLog +++ b/WebKitTools/ChangeLog @@ -1,3 +1,8 @@ +2006-02-04 Darin Adler + + * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old + Configuration files that say Development or Deployment in them. + 2006-02-04 Darin Adler * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled diff --git a/WebKitTools/Scripts/webkitdirs.pm b/WebKitTools/Scripts/webkitdirs.pm index d99f4089b079..402fc0e92fc3 100644 --- a/WebKitTools/Scripts/webkitdirs.pm +++ b/WebKitTools/Scripts/webkitdirs.pm @@ -88,6 +88,9 @@ sub determineConfiguration } if ($configuration) { chomp $configuration; + # compatibility for people who have old Configuration files + $configuration = "Release" if $configuration eq "Deployment"; + $configuration = "Debug" if $configuration eq "Development"; } else { $configuration = "Release"; } -- 2.36.0