From 7aa69397d99fff86196c3a835551f099e4603057 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Fri, 9 Mar 2012 08:14:19 +0900 Subject: make longer lines wrap so reading patch files aren't as painful. --- pbuilder-modules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pbuilder-modules') diff --git a/pbuilder-modules b/pbuilder-modules index 9b9cca0..36180ba 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -135,11 +135,13 @@ function seems_truly_unmounted() { log "W: $mountpoint isn't a directory" return 1 fi - if [ -r "$BUILDPLACE/proc/mounts" ] && grep -q "^[^ ]* $mountpoint " "$BUILDPLACE/proc/mounts"; then + if [ -r "$BUILDPLACE/proc/mounts" ] && \ + grep -q "^[^ ]* $mountpoint " "$BUILDPLACE/proc/mounts"; then log "W: $mountpoint is mounted according to build place's /proc/mounts" return 1 fi - if [ -r "/proc/mounts" ] && grep -q "^[^ ]* $BUILDPLACE/$mountpoint " "/proc/mounts"; then + if [ -r "/proc/mounts" ] && \ + grep -q "^[^ ]* $BUILDPLACE/$mountpoint " "/proc/mounts"; then log "W: $mountpoint is mounted according to system's /proc/mounts" return 1 fi -- cgit v1.2.3