[OE-core] [PATCH v2] create-pull-request: cd to relative directory

2015-08-11 Thread Ed Bartosh
create-pull-request -d path creates empty patches if directory is specified as a path, i.e. ./bitbake or ./bitbake/ or full path. It behaves expected way only if script is run with -d bitbake, i.e. relative dir name doesn't contain '\'. Fixed this unwanted behaviour by changing directory and

[OE-core] [PATCH v2] create-pull-request: cd to relative directory

2015-08-05 Thread Ed Bartosh
create-pull-request -d path creates empty patches if directory is specified as a path, i.e. ./bitbake or ./bitbake/ or full path. It behaves expected way only if script is run with -d bitbake, i.e. relative dir name doesn't contain '\'. Fixed this unwanted behaviour by changing directory and