diff options
Diffstat (limited to 'cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh')
-rwxr-xr-x | cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh b/cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh new file mode 100755 index 0000000..e047aa1 --- /dev/null +++ b/cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh @@ -0,0 +1,35 @@ +#!/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 \ + eggtreemultidnd.c \ + egg-editable-toolbar.h \ + egg-toolbars-model.h \ + egg-toolbar-editor.h \ + eggtreemultidnd.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 + |