File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 6
6
build :
7
7
8
8
runs-on : ubuntu-latest
9
-
9
+
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- name : install_dependencies
18
18
make
19
19
sudo make install
20
20
sudo make uninstall
21
- make distclean
21
+ make distclean
22
22
- name : second_build
23
23
run : |
24
24
./autogen.sh
29
29
run : |
30
30
rdate 2>&1 | grep Usage
31
31
rdate -pn4v ntp.on.br
32
-
Original file line number Diff line number Diff line change 31
31
32
32
33
33
# Use clean option
34
- if [ " $1 " = " clean" -a ! -e Makefile ]
34
+ if [ " $1 " = " clean" ] && [ ! -e Makefile ]
35
35
then
36
36
echo " Vanishing the code"
37
37
rm -rf aclocal.m4 autom4te.cache/ compile config.* configure depcomp \
40
40
fi
41
41
42
42
# Do not use clean option
43
- if [ " $1 " = " clean" -a -e Makefile ]
43
+ if [ " $1 " = " clean" ] && [ -e Makefile ]
44
44
then
45
45
echo " I can not clean. Use '$ make distclean'."
46
46
exit 0
Original file line number Diff line number Diff line change 73
73
#define NTP_MODE_CLIENT 3 /* NTP client mode */
74
74
#define NTP_MODE_SERVER 4 /* NTP server mode */
75
75
#define NTP_VERSION 4 /* The current version */
76
- #define NTP_VERSION_MIN 1 /* The minum valid version */
76
+ #define NTP_VERSION_MIN 1 /* The minimum valid version */
77
77
#define NTP_VERSION_MAX 4 /* The maximum valid version */
78
78
#define NTP_STRATUM_MAX 14 /* The maximum valid stratum */
79
79
#define NTP_INSANITY 3600.0 /* Errors beyond this are hopeless */
You can’t perform that action at this time.
0 commit comments