diff options
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 2 |
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)" |