From: Silvio Rhatto Date: Sun, 14 May 2017 17:02:52 +0000 (-0300) Subject: Removes uneeded 'done' script X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f10673449dd0720972c36304d0db914db0dfacec;p=scripts.git Removes uneeded 'done' script --- diff --git a/done b/done deleted file mode 100755 index 6e95bbd..0000000 --- a/done +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# -# Submit updates to a project. -# - -# Parameters -PROJECT="$1" - -# Try to get there -if [ ! -z "$PROJECT" ]; then - cd $PROJECT &> /dev/null || exit 1 -fi - -# Sync -if git status &> /dev/null; then - if which updates > /dev/null; then - updates - else - git commit -a -m "Updates $PROJECT" - git push - fi - - git fetch --all -fi