diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/upload.linux.sh b/MAST_tW_PDF_Updater/FilesForUpdates/upload.linux.sh index 333c300..ea91f8e 100644 --- a/MAST_tW_PDF_Updater/FilesForUpdates/upload.linux.sh +++ b/MAST_tW_PDF_Updater/FilesForUpdates/upload.linux.sh @@ -1,3 +1,8 @@ +echo "pushing Files for Update" +(cd "/home/henry/Documents/WA_Repo/Tips_and_Hacks/MAST_tW_PDF_Updater/FilesForUpdates"; +git pull +git commit -a -m "$1" +git push) || { echo 'Could not commit!' >&2; exit 1; } echo "pushing ULB" (cd "/home/henry/Documents/WA_Repo/en_ulb"; git pull @@ -18,8 +23,3 @@ echo "pushing tN" git pull git commit -a -m "$1" git push) || { echo 'Could not commit!' >&2; exit 1; } -echo "pushing Files for Update" -(cd "/home/henry/Documents/WA_Repo/Tips_and_Hacks/MAST_tW_PDF_Updater/FilesForUpdates"; -git pull -git commit -a -m "$1" -git push) || { echo 'Could not commit!' >&2; exit 1; }