Browse Source

Правки push-update 08

master
Alexander Demidov 11 years ago
parent
commit
d93bc62222
  1. 2
      push-update.sh

2
push-update.sh

@ -52,6 +52,8 @@ do
LIB_NEW_COMMITS=`echo $?` LIB_NEW_COMMITS=`echo $?`
if [ $LIB_NEW_COMMITS == 1 ] if [ $LIB_NEW_COMMITS == 1 ]
then then
echo -e "`pwd`\n"
exit 1
(git reset > /dev/null && (git reset > /dev/null &&
git add "$LIB_DIR" > /dev/null && git add "$LIB_DIR" > /dev/null &&
git commit -m $MESSAGE > /dev/null) || git commit -m $MESSAGE > /dev/null) ||

Loading…
Cancel
Save