cookbooks/tvdinner/files/default/jasonx/publish-gem in tvd-tvdinner-0.0.8 vs cookbooks/tvdinner/files/default/jasonx/publish-gem in tvd-tvdinner-0.0.9
- old
+ new
@@ -5,10 +5,10 @@
#/
#/ SYNOPSIS
#/ publish gem [--public | --private | --local]
# figure out the project root under which bin, lib live
-shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
+shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
# load a jason bourne library
source "$shome/libexec/_jason"
# define command line options: