Skip to content

Commit 5a1f6c3

Browse files
use variable for Docker image name
1 parent 81290dd commit 5a1f6c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ stop_nginx() {
4949
cp_bin() {
5050
printf "${BLUE} Copying binaries...${NC}"
5151
rm -rf bin
52-
mkdir -p bin
53-
docker exec jwt-nginx sh -c "tar -chf - \
52+
mkdir bin
53+
docker exec "${DOCKER_IMAGE_NAME}" sh -c "tar -chf - \
5454
/usr/lib64/nginx/modules/ngx_http_auth_jwt_module.so \
5555
/usr/lib/x86_64-linux-gnu/libjansson.so.* \
5656
/usr/lib/x86_64-linux-gnu/libjwt.*" 2>/dev/null | tar -xf - -C bin &>/dev/null

0 commit comments

Comments
 (0)