mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-11-06 05:16:43 +00:00
check whether diff accepts -N
This commit is contained in:
1 file changed
+5
@@ -8,6 +8,11 @@ DIR=${COPY}.dd
|
||||
DIR2=${COPY}.dd2
|
||||
DIFFOPT="-rN"
|
||||
|
||||
# Figure out if diff does not understand "-N"
|
||||
if ! diff -N ${SRC}/scp.sh ${SRC}/scp.sh 2>/dev/null; then
|
||||
DIFFOPT="-r"
|
||||
fi
|
||||
|
||||
maybe_add_scp_path_to_sshd
|
||||
|
||||
SRC=`dirname ${SCRIPT}`
|
||||
|
||||
Reference in new issue
Block a user