diff --git a/.deploy.sh b/.deploy.sh
index ca958641b5599a74bbcba6d0b2d0621a44fc62b3..492c880054991facb60e2c668f6a3be34251e5a8 100755
--- a/.deploy.sh
+++ b/.deploy.sh
@@ -6,7 +6,7 @@
 
 apt-get update && apt-get install -y dput ssh
 
-eval $(ssh-agent -s)
+eval "$(ssh-agent -s)"
 ssh-add <(echo "$PRIV_KEY")
 
 echo "Deploy job name: $CI_JOB_NAME"
@@ -21,7 +21,7 @@ else
     elif [ "$CI_JOB_NAME" = "deploy_for_stable" ]; then
        REPO_SRC="testing"
        REPO_TGT="stable"
-    if
+    fi
 
     CHANGELOG="package/debian/changelog"
     LINE=$(head -n 1 $CHANGELOG)