aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2006-08-20 00:40:48 +0000
committerdancer <dancer>2006-08-20 00:40:48 +0000
commit198a1b92c36e595dbb99dafb451fcd851e28a5ed (patch)
treefe7fde2177ea3e0dbb5178dab7017c868c0e4477 /pbuilder-checkparams
parent399221e08df223546490e31a7647b91a459e8fb1 (diff)
downloadpbuilder-198a1b92c36e595dbb99dafb451fcd851e28a5ed.tar
pbuilder-198a1b92c36e595dbb99dafb451fcd851e28a5ed.tar.gz
bind-mount ordering fix.
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 6f393bd..ebb9c9c 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -263,3 +263,5 @@ case "$PBCURRENTCOMMANDLINEOPERATION" in
;;
esac
+# sort BINDMOUNTS to ensure that deeper directories are mounted last
+BINDMOUNTS="$(for i in $BINDMOUNTS; do echo $i; done | sort -u)"