fix return to path after build

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Tim Niemeyer 2012-09-29 20:42:34 +02:00
parent b4d756cb91
commit 3367dac5c4
1 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ prebuild() {
build() {
prebuild
opath=$(pwd)
cd $target
case "$1" in
@ -54,7 +55,7 @@ build() {
esac
# actually this does northing!
# rm -rf ./build_dir/files/
cd ../
cd $opath
if [ ! -d bin ]; then
mkdir bin