File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
.obs/specfile/elemental-operator Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,20 +101,20 @@ if [ "$(uname)" = "Linux" ]; then
101
101
OTHER_LINKFLAGS= "-extldflags -static -s"
102
102
fi
103
103
104
- if [ "%{commit }" = "0 " ]; then
104
+ if [ "%{commit }" = "_replaceme_ " ]; then
105
105
echo "No commit hash provided"
106
106
exit 1
107
107
fi
108
108
109
- if [ "%{c_date }" = "0 " ]; then
109
+ if [ "%{c_date }" = "_replaceme_ " ]; then
110
110
echo "No commit date provided"
111
111
exit 1
112
112
fi
113
113
114
- export GIT_TAG= ` echo "%{version }" | cut -d "+" -f 1`
115
- GIT_COMMIT = ` echo "%{commit }"`
114
+ export GIT_TAG= $( echo "%{version }" | cut -d "+" -f 1)
115
+ GIT_COMMIT = $( echo "%{commit }")
116
116
export GIT_COMMIT = ${GIT_COMMIT :0:8}
117
- export MTIME = `echo "%{c_date }"`
117
+ export COM MIT DATE = "%{c_date }"
118
118
119
119
# build binaries
120
120
CGO_ENABLED= 0 make operator
You can’t perform that action at this time.
0 commit comments