Update to v0.1.2

This commit is contained in:
Aoran Zeng 2023-09-26 23:04:42 +08:00
parent 5cb16f9baf
commit d072f52c07
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
* GPLv3 LICENSE.txt * GPLv3 LICENSE.txt
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
#define Chsrc_Version "v0.1.1-20230926" #define Chsrc_Version "v0.1.2-20230926"
#include "chsrc.h" #include "chsrc.h"

View File

@ -319,8 +319,8 @@ static void
chsrc_backup (const char* path) chsrc_backup (const char* path)
{ {
char* cmd = xy_strjoin(5, "cp ", path, " ", path, ".bak --backup='t'"); char* cmd = xy_strjoin(5, "cp ", path, " ", path, ".bak --backup='t'");
chsrc_info ( xy_strjoin (3, "备份文件名 ", path, ".bak"));
chsrc_run (cmd); chsrc_run (cmd);
chsrc_info ( xy_strjoin (3, "备份文件名 ", path, ".bak"));
} }