diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba70a139aea315e7d196c268082fd858d927deab..61b1961dc485123302f77fb25918d7ae7fd24396 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -371,7 +371,7 @@ deploy:
 #   when: manual
 #   script:
 #     - ./CI/deploy-prod.sh
-    
+
 release-container:
   image: $BUILD_IMAGE_REGISTRY/otb-alpine:3.7
   stage: deploy
diff --git a/CI/deploy-prod.sh b/CI/deploy-prod.sh
index d9b24eb16457d9fd7d87e182455009a8fdde6997..c81f89be7208a7a36a7b3937f37da2ac68caf44a 100644
--- a/CI/deploy-prod.sh
+++ b/CI/deploy-prod.sh
@@ -6,22 +6,22 @@ staging_area=/home/otbpush/test/staging
 prod_area=/home/otbpush/test/prod
 #check if we are dealing with the right packages
 
-pack_suffix=-`echo "$CI_COMMIT_TAG" | grep -o "rc[0-9]*"` # this retrieve the rc number
+pack_suffix=-$(echo "$CI_COMMIT_TAG" | grep -o "rc[0-9]*") # this retrieve the rc number
 echo "pack_suffix=${pack_suffix}"
 
 echo "Renaming binary packages"
 # find build_packages/. -name "*.run" \
 # -exec sh -c 'mv "$1" "${1%.run}${pack_suffix}.run"' _ {} \;
-packages_list=`ls ${staging_area} | grep -E "OTB-[0-9]*.[0-9]*.[0-9]*-.*\.(run|zip)"`
+packages_list=$(ls ${staging_area} | grep -E "OTB-[0-9]*.[0-9]*.[0-9]*-.*\.(run|zip)")
 ls -all build_packages/
-for name in packages_list
-  do 
+for name in $packages_list
+  do
   len=${#name}
   #add pack_suffix to the name
-  mv "$name" "${name:0:$len-4}${pack_suffix}${name:$len-4}" 
+  mv "$name" "${name:0:$len-4}${pack_suffix}${name:$len-4}"
 done
 
 # TO REMOVE
 ###########
 ls -all build_packages/
-###########
\ No newline at end of file
+###########