[pacman-dev] [PATCH] scripts: unset CDPATH if cd is used

2012-02-14 Thread Dan McGee
This wonderful/awful little bash shell variable wrecks havoc on `cd` calls in shell scripts. Unset CDPATH in makepkg where we use `cd` quite heavily. In pacman-optimize, we can move the change directory logic into the bsdtar call so we are left with no usages of `cd` in the script. Signed-off-by:

Re: [pacman-dev] [PATCH] scripts: unset CDPATH if cd is used

2012-02-14 Thread Dave Reisner
On Tue, Feb 14, 2012 at 10:14:08AM -0600, Dan McGee wrote: This wonderful/awful little bash shell variable wrecks havoc on `cd` calls in shell scripts. Unset CDPATH in makepkg where we use `cd` quite heavily. In pacman-optimize, we can move the change directory logic into the bsdtar call so we