diff options
author | lpsolit%gmail.com <> | 2007-05-10 23:59:40 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-05-10 23:59:40 +0200 |
commit | 7a584ece1eb334ecfdbba7a3d59b6e39646ba29f (patch) | |
tree | 2a6a236b03e03c77711ad524cecb0c3b3cbc2913 /Bugzilla/Install | |
parent | a43f35c27c4c233d2a8f3461d231cd299a648b93 (diff) | |
download | bugzilla-7a584ece1eb334ecfdbba7a3d59b6e39646ba29f.tar.gz bugzilla-7a584ece1eb334ecfdbba7a3d59b6e39646ba29f.tar.xz |
Bug 376908: Installation process should not assume skins are in the same directory as checksetup.pl - Patch by guillomovitch@zarb.org r/a=mkanat
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/Filesystem.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index e38270032..348f197b6 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -61,6 +61,7 @@ sub FILESYSTEM { my $webdotdir = bz_locations()->{'webdotdir'}; my $templatedir = bz_locations()->{'templatedir'}; my $libdir = bz_locations()->{'libpath'}; + my $skinsdir = bz_locations()->{'skinsdir'}; my $ws_group = Bugzilla->localconfig->{'webservergroup'}; @@ -201,9 +202,9 @@ sub FILESYSTEM { # Each standard stylesheet has an associated custom stylesheet that # we create. - foreach my $standard (<skins/standard/*.css>) { + foreach my $standard (<$skinsdir/standard/*.css>) { my $custom = $standard; - $custom =~ s|^skins/standard|skins/custom|; + $custom =~ s|\Q$skinsdir\E/standard|$skinsdir/custom|; $create_files{$custom} = { perms => $ws_readable, contents => <<EOT /* * Custom rules for $standard. |