- fix default rpm::source::build-command value to match reality
authorpmatilai <pmatilai>
Mon, 8 May 2006 20:44:22 +0000 (20:44 +0000)
committerpmatilai <pmatilai>
Mon, 8 May 2006 20:44:22 +0000 (20:44 +0000)
cmdline/apt-get.cc

index 563a1a6..80b3ecb 100644 (file)
@@ -2611,7 +2611,7 @@ bool DoSource(CommandLine &CmdL)
         {
            char S[500];
            snprintf(S,sizeof(S),"%s %s %s",
-                    _config->Find("RPM::Source::Build-Command","rpm --rebuild").c_str(),
+                    _config->Find("RPM::Source::Build-Command","rpmbuild --rebuild").c_str(),
                     _config->Find("RPM::Source::Build-Options","").c_str(),
                     Dsc[I].Dsc.c_str());
            if (system(S) != 0)