diff options
Diffstat (limited to 'localcowdebuild')
-rwxr-xr-x | localcowdebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/localcowdebuild b/localcowdebuild index 70095f6..75bca83 100755 --- a/localcowdebuild +++ b/localcowdebuild @@ -45,15 +45,19 @@ done pbuilderopts="$pbuilderopts $@" for pool in $pools; do + basepath="/var/cache/pbuilder/cow-$pool" + buildplace="/var/cache/pbuilder/build-$pool/cow-$$" + aptcache="/var/cache/pbuilder/aptcache-$pool/" + buildresult="$HOME/src/pbuild-$pool/" pdebuild \ --pbuilder cowbuilder \ - --buildresult $HOME/src/pbuild-$pool/ \ + --buildresult "$buildresult" \ ${debbuildopts:+--debbuildopts $debbuildopts} \ $pdebuildopts \ -- \ - --basepath /var/cache/pbuilder/cow-$pool \ - --buildplace /var/cache/pbuilder/build-$pool/cow-$$ \ - --aptcache /var/cache/pbuilder/aptcache-$pool/ \ + --basepath "$basebath" \ + --buildplace "$buildplace" \ + --aptcache "$aptcache" \ --pkgname-logfile \ $pbuilderopts |