Thanks, applied as 5d0ac6852ec815e14dd0c80ba6b484c3b33ecd5f.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:39 +0200, Bastian Krause <[email protected]> wrote:
> Signed-off-by: Bastian Krause <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/scripts/lib/ptxd_lib_template.sh 
> b/scripts/lib/ptxd_lib_template.sh
> index 5fdb805ebb51..59c2a073ed8d 100644
> --- a/scripts/lib/ptxd_lib_template.sh
> +++ b/scripts/lib/ptxd_lib_template.sh
> @@ -85,11 +85,16 @@ ptxd_template_read_version() {
>      fi
>  }
>  export -f ptxd_template_read_version
> -
> +#
> +# Read URL of basedir and suffix from user input
> +#
> +# $1 default URL of basedir (optional)
> +# $2 default suffix (optional)
> +#
>  ptxd_template_read_url() {
>      if [ -z "${ptxd_template_have_existing}" ]; then
> -     ptxd_template_read "enter URL of basedir" URL
> -     ptxd_template_read "enter suffix" SUFFIX
> +     ptxd_template_read "enter URL of basedir" URL "${1}"
> +     ptxd_template_read "enter suffix" SUFFIX "${2}"
>      fi
>  }
>  export -f ptxd_template_read_url

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to