File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh -x
2
2
3
3
4
- . ` dirname " $0 " ` /functions
4
+ . " $( dirname " $0 " ) " /functions
5
5
. detect-environment
6
6
. compile-options
7
7
. version
@@ -71,7 +71,7 @@ case "$WITH_SYSTEMD" in
71
71
esac
72
72
73
73
# RHEL 8 requires an SELinux policy
74
- if [ " x $OS " = " xrhel " ] && [ " ${VER% \. * } " -gt " 7" ]; then
74
+ if [ " $OS " = rhel ] && [ " ${VER% \. * } " -gt " 7" ]; then
75
75
var_append ARGS " --with-selinux-policy"
76
76
fi
77
77
@@ -102,21 +102,21 @@ case "$BUILD_TYPE" in
102
102
;;
103
103
esac
104
104
105
- if [ " x $OS " = " xsolaris " ]
105
+ if [ " $OS " = solaris ]
106
106
then
107
107
export PKG_CONFIG_PATH=" $BUILDPREFIX /lib/pkgconfig"
108
108
fi
109
109
110
110
111
- ( cd $BASEDIR /core && env $OPTS CFLAGS=" $CFLAGS " ./configure $ARGS )
111
+ ( cd " $BASEDIR " /core && env " $OPTS " CFLAGS=" $CFLAGS " ./configure " $ARGS " )
112
112
113
- if [ " x $NOVA " = " xyes " ]
113
+ if [ " $NOVA " = yes ]
114
114
then
115
- ( cd $BASEDIR /enterprise && env $OPTS CFLAGS=" $CFLAGS " ./configure $ARGS )
116
- if [ " x $ROLE " = " xhub " ]
115
+ ( cd " $BASEDIR " /enterprise && env " $OPTS " CFLAGS=" $CFLAGS " ./configure " $ARGS " )
116
+ if [ " $ROLE " = hub ]
117
117
then
118
- ( cd $BASEDIR /nova && env $OPTS CFLAGS=" $CFLAGS " ./configure $ARGS )
118
+ ( cd " $BASEDIR " /nova && env " $OPTS " CFLAGS=" $CFLAGS " ./configure " $ARGS " )
119
119
fi
120
120
fi
121
121
122
- ( cd $BASEDIR /masterfiles && env $OPTS CFLAGS=" $CFLAGS " ./configure $ARGS )
122
+ ( cd " $BASEDIR " /masterfiles && env " $OPTS " CFLAGS=" $CFLAGS " ./configure " $ARGS " )
You can’t perform that action at this time.
0 commit comments