summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-13 21:19:42 +0000
committerColin Watson <cjwatson@debian.org>2009-01-13 21:19:42 +0000
commitf447c67dc0f99de3515a7ba8fa689dd98d4b697d (patch)
treeffbd6261b8da8f75fc71f87f82f84f633d0e9112 /functions
parentbb59bba7d633df370324b9262a22fbfbe506f933 (diff)
downloaddebootstrap-f447c67dc0f99de3515a7ba8fa689dd98d4b697d.tar.gz
Cope with ancient versions of chroot(8) that don't call chdir() (thanks,
Patrik Arvhult; closes: #350635). r57245
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 4b70c5e..76e9b65 100644
--- a/functions
+++ b/functions
@@ -399,7 +399,7 @@ apt_dest () {
# rel suite mirror path
case "$1" in
deb)
- echo "var/cache/apt/archives/${2}_${3}_${4}.deb" | sed 's/:/%3a/'
+ echo "/var/cache/apt/archives/${2}_${3}_${4}.deb" | sed 's/:/%3a/'
;;
pkg)
local m="$5"