Commit 6b2fd4a8 authored by Przemysław Pawełczyk's avatar Przemysław Pawełczyk Committed by Jakub Jirutka

abuild: make default_prepare() always end up in "$builddir"

So far default_prepare() ended up in "$builddir" only if there were any
patches.  It's better to be more consistent and make such change always.
parent 454beb0c
......@@ -565,10 +565,10 @@ have_patches() {
default_prepare() {
local i
cd "$builddir" || { error "Is \$builddir set correctly?"; return 1; }
if ! have_patches; then
return 0
fi
cd "$builddir" || { error "Is \$builddir set correctly?"; return 1; }
for i in $source; do
case $i in
*.patch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment