webbuild: allow modified autodist ports is AUTOPORT_PORT_REPOSITORY is set

This commit is contained in:
Silvan Calarco 2014-06-18 13:09:29 +02:00
parent 5241fa7e82
commit 82c5f79f27

View File

@ -1409,7 +1409,7 @@ if [ "$MAINTAINERMODE" != "true" ]; then
echo -n "<br>"
fi
# automatic port
if [ ! "${AUTOPORT_DISABLE[$ENVIRONMENT]}" -a ! "${AUTOPORT_UPDATE[$ENVIRONMENT]}" ]; then
if [ "${AUTOPORT_PORT_REPOSITORY[$ENVIRONMENT]}" ]; then
echo -n "Automatic port:"
echo -n "<input type=button id=autoportnp value=\"port\" onclick="
echo -n "p=getSelectedValueById('sendrepository');"