File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,13 +118,12 @@ build_bc_gateway() {
118118 cp requirements.txt " $BUILD_DIR /bc_gateway"
119119 cd " $BUILD_DIR " /bc_gateway
120120
121- # Prepare symlink
122- local tmp_dir=" $( mktemp -d) "
123- ln -s " $GATEWAY_DEST_DIR " /bc-gateway.py " $tmp_dir " /bc-gateway
124-
125121 replace_placeholders * .py
126122 chmod +x gateway.py
127123
124+ # Prepare symlink
125+ ln -s " $GATEWAY_DEST_DIR " /bc-gateway.py bc-gateway
126+
128127 _fpm --name bc-gateway \
129128 --depends bc-common \
130129 $( python_depends) \
@@ -134,9 +133,8 @@ build_bc_gateway() {
134133 gateway.py=" $GATEWAY_DEST_DIR /bc-gateway.py" \
135134 bc-gateway.yml=etc/bigclown/bc-gateway.yml \
136135 bc-gateway-acm0.yml=etc/bigclown/bc-gateway-acm0.yml \
137- " $tmp_dir / bc-gateway" =/usr/bin
136+ bc-gateway=/usr/bin/
138137
139- rm -Rf " $tmp_dir "
140138 cd - > /dev/null
141139}
142140
You can’t perform that action at this time.
0 commit comments