diff --git a/lib/grack/bin/console b/lib/grack/bin/console index b9297ffa..1452359a 100644 --- a/lib/grack/bin/console +++ b/lib/grack/bin/console @@ -1,5 +1,6 @@ #! /bin/bash +### set -e cd $(dirname "$0")/.. diff --git a/lib/wechat/bin/wechat b/lib/wechat/bin/wechat index d5563802..e20639a7 100644 --- a/lib/wechat/bin/wechat +++ b/lib/wechat/bin/wechat @@ -1,6 +1,6 @@ #coding=utf-8 #!/usr/bin/env ruby - +### lib = File.expand_path(File.dirname(__FILE__) + '/../lib') $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)