Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh
blob: b0ec135a436bf8d3bebd82853541c924a1c72959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
# update-toolbareditor-from-libegg.sh
#
# Get latest toolbar editor from libegg
# Developers using the toolbar editor in their projects can use this script to
# fetch the latest toolbar editor from libegg. Just run this script
#

SCRIPT_NAME=update-toolbareditor-from-libegg.sh
SVN_URI=http://svn.gnome.org/svn/libegg/trunk/libegg/toolbareditor
FILES="egg-editable-toolbar.c \
       egg-toolbars-model.c \
       egg-toolbar-editor.c \
       egg-editable-toolbar.h \
       egg-toolbars-model.h \
       egg-toolbar-editor.h \
       eggmarshalers.list" 


if [ -z $1 ]; then
  echo "Obtaining latest version of "$SCRIPT_NAME
  svn export $SVN_URI/$SCRIPT_NAME
  ./$SCRIPT_NAME --update-sources
fi
if  [ "$1"  = "--update-sources" ]; then

  echo "Obtaining latest version of the sources"
  for FILE in $FILES 
  do
    svn export $SVN_URI/$FILE
  done
fi