diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-12-03 17:52:25 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-12-04 02:38:09 +0100 |
commit | 6b2fd4a891ba5eb7c32eeb37f5d18986d61d9090 (patch) | |
tree | f261dfcad47cd4fafaed1e9ee6fbfb97ed77f74f /abuild.in | |
parent | 454beb0c5cf8c807ed78c6ff548bc9ed285c0cef (diff) | |
download | abuild-6b2fd4a891ba5eb7c32eeb37f5d18986d61d9090.tar.gz abuild-6b2fd4a891ba5eb7c32eeb37f5d18986d61d9090.tar.bz2 abuild-6b2fd4a891ba5eb7c32eeb37f5d18986d61d9090.tar.xz abuild-6b2fd4a891ba5eb7c32eeb37f5d18986d61d9090.zip |
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.
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |