diff options
Diffstat (limited to 'code')
-rwxr-xr-x | code/vlanscrape-wrapper | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/code/vlanscrape-wrapper b/code/vlanscrape-wrapper index 4fddc59..be7c608 100755 --- a/code/vlanscrape-wrapper +++ b/code/vlanscrape-wrapper @@ -46,13 +46,11 @@ then fi fi -if [ -z $CommitMsg ] +if [ ! -z $CommitMsg ] then - exit 0 + git add . + git commit -m "$CommitMsg" + git push fi -git add . -git commit -m "$CommitMsg" -git push - rm ${TmpFile} |