From 1b02390b2c5bbe3a6107525c5cb4e863720d69a1 Mon Sep 17 00:00:00 2001
From: walaaqwider <walaaqwider@gmail.com>
Date: Mon, 27 Nov 2017 11:50:24 +0200
Subject: [PATCH] update

---
 participants/qwider.walaa/auto.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/participants/qwider.walaa/auto.sh b/participants/qwider.walaa/auto.sh
index 8118397..79f17cd 100644
--- a/participants/qwider.walaa/auto.sh
+++ b/participants/qwider.walaa/auto.sh
@@ -10,11 +10,15 @@ pandoc -s -t html shopbot.md -o shopbot.html
 pandoc -s -t html electronics_prod.md -o electronics_prod.html
 
 echo "All files coverted to HTML"
+if [ "$#" -gt 0 ]
+then 
 cd ..
 cd ..
 git pull
 git add .
-git commit -m "upaate"
+git commit -m "update"
 git pull && git push
-
+else 
+echo "not uploading [empty  commit message]"
+fi
 
-- 
GitLab