Skip to content

Commit ef6f01a

Browse files
committed
bug fix, gitolite/system/make_ssl_config.sh has a wrong checking switch case in "if".
1 parent cb9f045 commit ef6f01a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

docker/gitolite/system/make_ssl_config.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,12 @@ do
3636
fi
3737
done
3838

39-
while :
40-
do
41-
echo -n "Enter a IdentityFile path (default : ~/.ssh/git-manager) >"
42-
read identityFile_path
43-
echo "Entered a IdentityFile path: $identityFile_path"
44-
if [[ "$identityFile_path" != "" ]]; then
45-
identityFile_path="~/.ssh/git-manager"
46-
fi
47-
done
39+
echo -n "Enter a IdentityFile path (default : ~/.ssh/git-manager) >"
40+
read identityFile_path
41+
echo "Entered a IdentityFile path: $identityFile_path"
42+
if [[ "$identityFile_path" == "" ]]; then
43+
identityFile_path="~/.ssh/git-manager"
44+
fi
4845

4946
sed 's/domain/'$domain'/' sample_config > sample_config'1'.temp
5047
sed 's/portnumber/'$portnumber'/' sample_config'1'.temp > config

0 commit comments

Comments
 (0)