]> git.tdb.fi Git - builder.git/commitdiff
Convert architecture argument to lower case
authorMikko Rasa <tdb@tdb.fi>
Tue, 31 Aug 2021 11:50:04 +0000 (14:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 31 Aug 2021 11:50:04 +0000 (14:50 +0300)
source/buildercli.cpp

index 2bea4ddad54d704404bacf73f18e1aa352d834ad..a37336f20e886686a7873d08947d1b6855c33f4b 100644 (file)
@@ -149,7 +149,7 @@ BuilderCLI::BuilderCLI(int argc, char **argv):
 
        package_manager.set_no_externals(no_externals);
 
-       builder.set_architecture(arch);
+       builder.set_architecture(tolower(arch));
 
        list<FS::Path> start_files;
        start_files.push_back(FS::get_sys_data_dir()/"builderrc");