cookbooks/tvdinner/files/default/jasonx/build-gem in tvd-tvdinner-0.0.8 vs cookbooks/tvdinner/files/default/jasonx/build-gem in tvd-tvdinner-0.0.9
- old
+ new
@@ -5,10 +5,10 @@
#/
#/ SYNOPSIS
#/ build gem -n gem_name
# 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: