mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Check for git in update script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38913 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bd9d3cb0eb
commit
ba3d0ac837
@ -53,6 +53,10 @@ if ! cd $FARM; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Are we under svn or git?
|
||||||
|
GIT="";
|
||||||
|
if [ -d .git/ ]; then GIT="TRUE"; fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo Updating the www-user tree...
|
echo Updating the www-user tree...
|
||||||
svn up
|
svn up
|
||||||
@ -61,6 +65,11 @@ echo Copying $I18NFILE...;
|
|||||||
cp $LYXROOT/po/$I18NFILE .;
|
cp $LYXROOT/po/$I18NFILE .;
|
||||||
|
|
||||||
echo Committing...;
|
echo Committing...;
|
||||||
svn commit -m "* $I18NFILE: update stats" $I18NFILE;
|
if [ -z "$GIT" ]; then
|
||||||
|
svn commit -m "* $I18NFILE: update stats" $I18NFILE;
|
||||||
|
else
|
||||||
|
git commit -m "* $I18NFILE: update stats" $I18NFILE;
|
||||||
|
git svn dcommit;
|
||||||
|
fi
|
||||||
|
|
||||||
echo DONE!
|
echo DONE!
|
||||||
|
Loading…
Reference in New Issue
Block a user