add chmod x

This commit is contained in:
Trevor Batley 2023-09-01 14:26:34 +10:00
parent b76ceadbc7
commit a2ad37859b

View File

@ -33,6 +33,7 @@ mkdir -p $SCRIPT_DIR
curl $SCRIPT_GIT/gencert.sh > $SCRIPT_DIR/gencert.sh
curl $SCRIPT_GIT/deploy-koji.sh > $SCRIPT_DIR/deploy-koji.sh
curl $SCRIPT_GIT/bootstrap-build.sh > $SCRIPT_DIR/bootstrap-build.sh
chmod o+x $SCRIPT_DIR/*.sh
# ask for required parameters (ssh settings and build server FQDN)
KOJI_HUB_FQDN="$(hostname -f)"
@ -63,7 +64,6 @@ done
read -p "Build server FQDN (will default to hub FQDN '$KOJI_HUB_FQDN' if left blank) " KOJI_BUILD_FQDN
if [ $KOJI_BUILD_FQDN ] ; then
echo "$KOJI_BUILD_FQDN will be made a Koji Build server"
break
else
KOJI_BUILD_FQDN=$KOJI_HUB_FQDN
echo "All-in-one: Hub will now be a build server as well"