summaryrefslogtreecommitdiff
path: root/repo/media/alsa-tools.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/media/alsa-tools.xibuild')
-rw-r--r--repo/media/alsa-tools.xibuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/repo/media/alsa-tools.xibuild b/repo/media/alsa-tools.xibuild
index a31327f..5901538 100644
--- a/repo/media/alsa-tools.xibuild
+++ b/repo/media/alsa-tools.xibuild
@@ -13,6 +13,7 @@ prepare () {
}
build () {
+ buildroot=$(pwd)
for tool in *; do
case $tool in
seq )
@@ -23,13 +24,13 @@ build () {
;;
esac
- pushd $tool_dir
- ./configure --prefix=/usr
- make
- make DESTDIR=$PKG_DEST install
- popd
+ cd $tool_dir
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG_DEST install
+ cd $buildroot
-done
+ done
unset tool tool_dir
}