fix copy&paste bug
authorKlaus Kaempf <kkaempf@suse.de>
Sun, 23 Apr 2006 13:21:01 +0000 (13:21 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Sun, 23 Apr 2006 13:21:01 +0000 (13:21 +0000)
zypp/source/yum/YUMScriptImpl.cc

index b7089e3..3397c86 100644 (file)
@@ -67,7 +67,7 @@ namespace zypp
          _tmp_file = filesystem::TmpFile();
          Pathname pth = _tmp_file.path();
          ofstream st(pth.asString().c_str());
-         st << _undo_script << endl;
+         st << _do_script << endl;
          return pth;
        }
        else if (_do_location != "" && _do_location != "/")