提交 3e5d1c36 编写于 作者: L lihui

[#971]

上级 b7471464
......@@ -10,5 +10,5 @@ set -e
OS=$(cat /etc/*-release | grep "^NAME=" | cut -d= -f2)
len=$(echo ${#OS})
len=$((len-2))
retval=$(echo -ne ${OS:1:${len}} | cut -d" " -f0)
retval=$(echo -ne ${OS:1:${len}} | cut -d" " -f1)
echo -ne $retval
......@@ -23,7 +23,10 @@ extern "C" {
#include <stdio.h>
#include <stdlib.h>
#include <error.h>
#ifdef __USE_GNU
#include <error.h>
#endif
#include <argp.h>
#include <arpa/inet.h>
#include <assert.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册