Update script to update source ref.

This commit is contained in:
Laurent Destailleur 2013-07-02 00:21:03 +02:00
parent 6f047ec1a1
commit c5a7540b37

View File

@ -10,7 +10,7 @@
# Syntax # Syntax
if [ "x$1" = "x" ] if [ "x$1" = "x" ]
then then
echo "Usage: txpush.sh (all|xx_XX) [-r dolibarr.file]" echo "Usage: txpush.sh (source|all|xx_XX) [-r dolibarr.file]"
exit exit
fi fi
@ -22,8 +22,13 @@ then
echo "tx push -t -l $fic $2 $3" echo "tx push -t -l $fic $2 $3"
tx push -t -l $fic $2 $3 tx push -t -l $fic $2 $3
done done
else
if [ "x$1" = "xsource" ]
then
echo "tx push -s $2 $3"
tx push -s $2 $3
else else
echo "tx push -t -l $1 $2 $3" echo "tx push -t -l $1 $2 $3"
tx push -t -l $1 $2 $3 tx push -t -l $1 $2 $3
fi fi
fi