mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-01-22 14:41:45 +08:00
Update to v0.1.2
This commit is contained in:
parent
5cb16f9baf
commit
d072f52c07
2
chsrc.c
2
chsrc.c
|
@ -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"
|
||||||
|
|
||||||
|
|
2
chsrc.h
2
chsrc.h
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user