aboutsummaryrefslogtreecommitdiff
path: root/sync-code
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-02 21:55:01 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-02 21:55:01 -0200
commit2a018fc7cd3eb1eded7ff8d46682c6fa0883e85c (patch)
treee723ae39da0e02bbfb7f97a90121e0a1b258c460 /sync-code
parent2a541cecb9f0ba6f7d1d2db2b6362a3a023b2a44 (diff)
downloadscripts-2a018fc7cd3eb1eded7ff8d46682c6fa0883e85c.tar.gz
scripts-2a018fc7cd3eb1eded7ff8d46682c6fa0883e85c.tar.bz2
Using a specific version of unison
Diffstat (limited to 'sync-code')
-rwxr-xr-xsync-code3
1 files changed, 2 insertions, 1 deletions
diff --git a/sync-code b/sync-code
index bdb5f32..1211ebd 100755
--- a/sync-code
+++ b/sync-code
@@ -5,6 +5,7 @@
BASENAME="`basename $0`"
DEST="$1"
+UNISON="unison-2.32.52"
if [ ! -z "$DEST" ]; then
@@ -15,7 +16,7 @@ if [ ! -z "$DEST" ]; then
fi
if [ -f "$HOME/.unison/$profile.prf" ]; then
- unison $profile
+ $UNISON $profile
else
echo "No such profile $HOME/.unison/$profile.prf"
exit 1