summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-09-23 13:28:47 +0100
committerSadie Powell <sadie@witchery.services>2020-09-23 13:28:47 +0100
commit9cdd7c70ee8faa2d8d37078aa188423a7abfa214 (patch)
treeb1905aacb982dbc5cc08d796d636bbebaf8dca5b
parenta56ff68b0a8b93979b6baf917ff15e03a71ac364 (diff)
The file extension is optional when calling enable_extras.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9355a6ad7..5c99c2b45 100755
--- a/configure
+++ b/configure
@@ -355,7 +355,7 @@ if (prompt_bool $interactive, $question, 0) {
foreach my $extra (<$RealDir/src/modules/extra/m_*.cpp>) {
my $module_name = basename $extra, '.cpp';
if (prompt_bool $interactive, "Would you like to enable $module_name?", 0) {
- enable_extras "$module_name.cpp";
+ enable_extras $module_name;
}
}
} elsif (!defined $opt_disable_auto_extras) {