mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
Move the TEST_SSH_PORT section down a bit.
This groups the portable-specific changes together and makes it a little more likely that patches will apply cleanly.
This commit is contained in:
parent
3674e33fa7
commit
ef4f46ab43
@ -17,12 +17,6 @@ CYGWIN*)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ ! -z "$TEST_SSH_PORT" ]; then
|
|
||||||
PORT="$TEST_SSH_PORT"
|
|
||||||
else
|
|
||||||
PORT=4242
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If configure tells us to use a different egrep, create a wrapper function
|
# If configure tells us to use a different egrep, create a wrapper function
|
||||||
# to call it. This means we don't need to change all the tests that depend
|
# to call it. This means we don't need to change all the tests that depend
|
||||||
# on a good implementation.
|
# on a good implementation.
|
||||||
@ -47,6 +41,12 @@ if test -z "$LOGNAME"; then
|
|||||||
export LOGNAME
|
export LOGNAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$TEST_SSH_PORT" ]; then
|
||||||
|
PORT="$TEST_SSH_PORT"
|
||||||
|
else
|
||||||
|
PORT=4242
|
||||||
|
fi
|
||||||
|
|
||||||
OBJ=$1
|
OBJ=$1
|
||||||
if [ "x$OBJ" = "x" ]; then
|
if [ "x$OBJ" = "x" ]; then
|
||||||
echo '$OBJ not defined'
|
echo '$OBJ not defined'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user