summaryrefslogtreecommitdiff
path: root/localpbuilder-create
diff options
context:
space:
mode:
Diffstat (limited to 'localpbuilder-create')
-rwxr-xr-xlocalpbuilder-create5
1 files changed, 2 insertions, 3 deletions
diff --git a/localpbuilder-create b/localpbuilder-create
index 5287f52..55a24cd 100755
--- a/localpbuilder-create
+++ b/localpbuilder-create
@@ -98,11 +98,11 @@ fi
basetgz="/var/cache/pbuilder/base-$pool.tgz"
buildplace="/var/cache/pbuilder/build-$pool/"
-aptcache="/var/cache/pbuilder/aptcache-$pool/"
+aptcache=""
buildresult="$HOME/src/pbuild-$pool/"
makepaths=''
-for path in "$aptcache" "$buildresult"; do
+for path in "$buildresult"; do
if [ ! -d "$path" ]; then
echo "W: Needed path \"$path\" does not exist"
makepaths='yes'
@@ -113,7 +113,6 @@ if [ "$makepaths" = 'yes' ]; then
|| ask 'Create the missing path(s)' \
|| exit1 "Cannot continue without those missing paths"
mkdir -p "$buildresult"
- sudo mkdir -p "$aptcache"
fi
sudo pbuilder create \