summaryrefslogtreecommitdiff
path: root/bin/rcup.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcup.in')
-rwxr-xr-xbin/rcup.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rcup.in b/bin/rcup.in
index f818258..bdae664 100755
--- a/bin/rcup.in
+++ b/bin/rcup.in
@@ -123,11 +123,11 @@ replace_file() {
}
is_nested() {
- echo "$1" | sed "s:$DEST_DIR/::" | grep -q '/'
+ echo "$1" | sed "s:$DEST_DIR/::" | grep '/' >/dev/null
}
is_identical() {
- diff -q -s "$1" "$2" > /dev/null
+ diff -c "$1" "$2" > /dev/null 2>&1
}
handle_dir() {