Revert "Moved modules to src/."
This reverts commit 8754f93b08.
This won't work. Time for a new idea.
This commit is contained in:
1 parent
8754f93b08
commit
e33e5a0361
11 files changed
+4
-5
No files matched your search
+4
-5
@@ -21,13 +21,13 @@ my $module = $ARGV[0];
|
||||
# Set full path.
|
||||
my $type = 0;
|
||||
my $modulep;
|
||||
if (-e "$Bin/../modules/src/$module.pm") {
|
||||
$modulep = "$Bin/../modules/src/$module.pm";
|
||||
if (-e "$Bin/../modules/$module.pm") {
|
||||
$modulep = "$Bin/../modules/$module.pm";
|
||||
$type = 1;
|
||||
}
|
||||
else {
|
||||
if (-e "$Bin/../modules/src/$module/Buildfile") {
|
||||
$modulep = "$Bin/../modules/src/$module/Buildfile";
|
||||
if (-e "$Bin/../modules/$module/Buildfile") {
|
||||
$modulep = "$Bin/../modules/$module/Buildfile";
|
||||
$type = 2;
|
||||
}
|
||||
else {
|
||||
@@ -117,7 +117,6 @@ foreach my $line (<$FHBM>) {
|
||||
}
|
||||
close $FHBM;
|
||||
|
||||
$modulep =~ s/src\///g;
|
||||
open $FHBM, '>', $modulep;
|
||||
print {$FHBM} $db;
|
||||
close $FHBM;
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user