2009-05-27 09:09:48 -05:00
|
|
|
#!/bin/sh
|
2010-06-19 08:28:23 -05:00
|
|
|
#
|
|
|
|
# Note: for this script to work, you need to make sure bash can
|
|
|
|
# find svn on your system. If it's not in the default
|
|
|
|
# Windows path, you will have to add it yourself, for
|
|
|
|
# example like this:
|
|
|
|
# - create a file /etc/profile.d/svn.sh
|
|
|
|
# - add this line: export PATH=/c/soft/svn/bin:$PATH
|
|
|
|
# (Use the real path to your svn installation, obviously)
|
2009-05-27 09:09:48 -05:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
function qpushd() { pushd "$@" >/dev/null; }
|
|
|
|
function qpopd() { popd >/dev/null; }
|
|
|
|
function unix_path() { echo "$*" | sed 's,^\([A-Za-z]\):,/\1,;s,\\,/,g'; }
|
|
|
|
|
|
|
|
qpushd "$(dirname $(unix_path "$0"))"
|
2009-05-28 04:32:16 -05:00
|
|
|
svn update
|
2009-06-12 23:31:35 -05:00
|
|
|
./build_package.sh
|
|
|
|
qpopd
|