diff --git a/bigbluebutton-html5/deploy_to_usr_share.sh b/bigbluebutton-html5/deploy_to_usr_share.sh
index 23f562b8566085a09d247de143c6eb4703143a8a..fa4f574c9c64324ba8a8e773587eb9dc1622240c 100755
--- a/bigbluebutton-html5/deploy_to_usr_share.sh
+++ b/bigbluebutton-html5/deploy_to_usr_share.sh
@@ -2,14 +2,17 @@
 
 # Please check bigbluebutton/bigbluebutton-html5/dev_local_deployment/README.md
 
-echo " start "
-pwd
 UPPER_DESTINATION_DIR=/usr/share/meteor
 DESTINATION_DIR=$UPPER_DESTINATION_DIR/bundle
 
 SERVICE_FILES_DIR=/usr/lib/systemd/system
 LOCAL_PACKAGING_DIR=/home/bigbluebutton/dev/bigbluebutton/bigbluebutton-html5/dev_local_deployment
 
+if [ ! -d "$LOCAL_PACKAGING_DIR" ]; then
+  echo "Did not find LOCAL_PACKAGING_DIR=$LOCAL_PACKAGING_DIR"
+  exit
+fi
+
 sudo rm -rf "$UPPER_DESTINATION_DIR"
 sudo mkdir -p "$UPPER_DESTINATION_DIR"
 sudo chown -R meteor:meteor "$UPPER_DESTINATION_DIR"