remove GIT_REPOSITORY
This commit is contained in:
@@ -4,8 +4,11 @@ toUpperCase() {
|
|||||||
echo "$*" | tr '[:lower:]' '[:upper:]';
|
echo "$*" | tr '[:lower:]' '[:upper:]';
|
||||||
}
|
}
|
||||||
GIT_REPO=$GIT_REPO
|
GIT_REPO=$GIT_REPO
|
||||||
ORGANIZATION=$ORGANIZATION
|
if [ "$GIT_REPO" == "" ]; then
|
||||||
|
GIT_REPO=git.format.hu
|
||||||
|
fi
|
||||||
|
|
||||||
|
ORGANIZATION=$ORGANIZATION
|
||||||
if [ "$ORGANIZATION" == "" ]; then
|
if [ "$ORGANIZATION" == "" ]; then
|
||||||
ORGANIZATION=format
|
ORGANIZATION=format
|
||||||
fi
|
fi
|
||||||
@@ -14,7 +17,6 @@ SMARTHOST_PROXY=$(toUpperCase $SMARTHOST_PROXY)
|
|||||||
LOCAL_PROXY=$(toUpperCase $LOCAL_PROXY)
|
LOCAL_PROXY=$(toUpperCase $LOCAL_PROXY)
|
||||||
VPN_PROXY=$(toUpperCase $VPN_PROXY)
|
VPN_PROXY=$(toUpperCase $VPN_PROXY)
|
||||||
CRON=$(toUpperCase $CRON)
|
CRON=$(toUpperCase $CRON)
|
||||||
GIT_REPOSITORY=$GIT_REPOSITORY
|
|
||||||
HOST=$HOST
|
HOST=$HOST
|
||||||
PORT=$PORT
|
PORT=$PORT
|
||||||
cd /root
|
cd /root
|
||||||
@@ -23,15 +25,11 @@ if [ "$PORT" == "" ]; then
|
|||||||
PORT=20202
|
PORT=20202
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$GIT_REPOSITORY" == "" ]; then
|
|
||||||
GIT_REPOSITORY=git.format.hu
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$HOST" == "" ]; then
|
if [ "$HOST" == "" ]; then
|
||||||
HOST=git.format.hu
|
HOST=git.format.hu
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/GIT_REPOSITORY/$GIT_REPOSITORY/g" /root/.ssh/config;
|
sed -i "s/GIT_REPO/$GIT_REPO/g" /root/.ssh/config;
|
||||||
sed -i "s/HOST/$HOST/g" /root/.ssh/config;
|
sed -i "s/HOST/$HOST/g" /root/.ssh/config;
|
||||||
sed -i "s/PORT/$PORT/g" /root/.ssh/config;
|
sed -i "s/PORT/$PORT/g" /root/.ssh/config;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user