From 13df2a85871f421efa6411fdfa18e0301f914f54 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 2 May 2012 22:53:25 -0400 Subject: [PATCH] ensure profile --- bin/unison-watch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/unison-watch b/bin/unison-watch index 00cc23f..bb1d48d 100755 --- a/bin/unison-watch +++ b/bin/unison-watch @@ -11,7 +11,6 @@ require 'daemons' ENV['PROFILE'] ||= 'default' - TRANSFER_LOG = '~/unison.log' SYNC_CHECK_COUNT = 600 SYNC_CHECK_TIME = 0.1 @@ -46,7 +45,7 @@ def check @current_icon = 'idle' end - system %{bash -c 'unison -batch default'} + system %{bash -c 'unison -batch #{ENV['PROFILE']}'} animation[:done] = true