Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
best-practical
rt-extension-ldapimport
Commits
ae45be7e
Commit
ae45be7e
authored
Feb 26, 2013
by
Alex Vandiver
Browse files
Update Module::Install::RTx
parent
5e47a0c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
inc/Module/Install/RTx.pm
inc/Module/Install/RTx.pm
+7
-6
No files found.
inc/Module/Install/RTx.pm
View file @
ae45be7e
...
...
@@ -14,7 +14,7 @@ use FindBin;
use
File::
Glob
();
use
File::
Basename
();
my
@DIRS
=
qw(etc lib html bin sbin po var)
;
my
@DIRS
=
qw(etc lib html
static
bin sbin po var)
;
my
@INDEX_DIRS
=
qw(lib bin sbin)
;
sub
RTx
{
...
...
@@ -62,10 +62,11 @@ sub RTx {
unshift
@INC
,
"
$RT
::LocalPath/lib
"
if
$
RT::
LocalPath
;
unshift
@INC
,
$lib_path
;
$
RT::
LocalVarPath
||=
$
RT::
VarPath
;
$
RT::
LocalPoPath
||=
$
RT::
LocalLexiconPath
;
$
RT::
LocalHtmlPath
||=
$
RT::
MasonComponentRoot
;
$
RT::
LocalLibPath
||=
"
$RT
::LocalPath/lib
";
$
RT::
LocalVarPath
||=
$
RT::
VarPath
;
$
RT::
LocalPoPath
||=
$
RT::
LocalLexiconPath
;
$
RT::
LocalHtmlPath
||=
$
RT::
MasonComponentRoot
;
$
RT::
LocalStaticPath
||=
$
RT::
StaticPath
;
$
RT::
LocalLibPath
||=
"
$RT
::LocalPath/lib
";
my
$with_subdirs
=
$ENV
{
WITH_SUBDIRS
};
@ARGV
=
grep
{
/WITH_SUBDIRS=(.*)/
?
(
(
$with_subdirs
=
$
1
),
0
)
:
1
}
...
...
@@ -208,4 +209,4 @@ sub requires_rt {
__END__
#line 32
8
#line 32
9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment