chiark
/
gitweb
/
~ianmdlvl
/
dsa-metapackages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e9a6264
)
Also accept empty/no suffix in chroot name
author
Peter Palfrader
<peter@palfrader.org>
Fri, 24 Feb 2012 10:08:33 +0000
(11:08 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 24 Feb 2012 10:08:33 +0000
(11:08 +0100)
apt-in-chroot
patch
|
blob
|
history
diff --git
a/apt-in-chroot
b/apt-in-chroot
index ed052a3b72cfe11002e5a689d008169de600e539..cdf8395cf7d6afd400d427d6430d9bf0711c1362 100755
(executable)
--- a/
apt-in-chroot
+++ b/
apt-in-chroot
@@
-58,7
+58,7
@@
if [ -x /usr/bin/dchroot ] ; then
elif [ -x /usr/bin/schroot ] ; then
chroots=$(schroot -l | awk -F":" '{print $2}' | grep -- '-dchroot$' )
method=schroot
- suffix
="-dchroot
"
+ suffix
[${#suffix[*]}]="
"
suffix[${#suffix[*]}]="-dchroot"
suffix[${#suffix[*]}]="-$(dpkg --print-architecture)-dchroot"
else