[Linux Test Project] [PATCH] Fix an bad variable name erro in runltp script
2024-09-03 05:47:39
[PATCH] Fix an bad variable name erro in runltp script (/opt/ltp/runltp)
Hi All,
I got an error for the latest version 20140115 of ltp project.
This error was found in my os, I use zh_CN for default language,
the `date +"%Y_%b_%d-%Hh_%Mm_%Ss"` will get like "2014_ 4yue_11-09h_36m_52s",
it contain a space before "4yue" will get the bad variable name error.
I fix this error and change the date args, see detail below:
- local DEFAULT_FILE_NAME_GENERATION_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
+ local DEFAULT_FILE_NAME_GENERATION_TIME=`date +"%Y_%m_%d-%Hh_%Mm_%Ss"`
For your reference.
--
Best Wishes,
look
最新文章
- PDA固定资产条码管理系统软件-解决固定资产实物清查的瓶颈问题,大大提高清查效率
- [ASP.NET MVC 大牛之路]01 - 开篇
- 渗透日记-POST注入
- 微信小程序-设备
- CentOS更新yum源
- Zookeeper全解析——Client端(转)
- Uva11134 Fabled Rooks
- 求解数组环中最大子数组和的问题(java)
- 线程间操作无效: 从不是创建控件“”的线程访问它~~~的解决方法~ 线程间操作无效: 从不是创建控件“Control Name'”的线程访问它问题的解决方案及原理分析
- 对JavaScript对象数组按指定属性和排序方向进行排序
- sql server 自定义函数
- 触动精灵远程Log模块
- vpn服务搭建
- cmd输入svn提示svn不是内部或外部命令
- Microsoft Visual Studio 中出现 Windows has triggered a breakpoint in xxx.exe的一个解决方案
- pycharm的list中copy的应用
- NumPy 学习笔记(一)
- in exists
- 在 C# 中使用文件名启动应用程序
- 10K+,深度学习论文、代码最全汇总!