summaryrefslogtreecommitdiff
path: root/localcowbuilder-create
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-05-21 19:30:37 +0200
committerJonas Smedegaard <dr@jones.dk>2011-05-21 19:35:07 +0200
commit35ec60f02489c9f81ac9ae37b3930353c2c37820 (patch)
tree67311271b06ff8901662efc086212af60918a89a /localcowbuilder-create
parentc209fbe3f2f6dd24776ca0649182b532490f21d9 (diff)
Suppress cowbuilder/pbuilder cache (use approx instead.
Diffstat (limited to 'localcowbuilder-create')
-rwxr-xr-xlocalcowbuilder-create5
1 files changed, 2 insertions, 3 deletions
diff --git a/localcowbuilder-create b/localcowbuilder-create
index b4b6c8b..8edf579 100755
--- a/localcowbuilder-create
+++ b/localcowbuilder-create
@@ -97,11 +97,11 @@ if [ -z "$distro" ]; then
fi
basepath="/var/cache/pbuilder/cow-$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'
@@ -112,7 +112,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
if [ -d "$basepath" ]; then