Am 21.06.22 um 00:20 schrieb Derrick Stolee: > @@ -853,7 +853,9 @@ test_configured_prune_type () { > then > new_cmdline=$cmdline_setup > else > - new_cmdline=$(printf "%s" "$cmdline" | perl -pe 's[origin(?!/)]["'"$remote_url"'"]g') > + new_cmdline=$(printf "%s" "$cmdline" | > + sed -e "s~origin ~'$remote_url' ~g" \ > + -e "s~ origin~ '$remote_url'~g") I'm not sure if this is still an issue, but I recall that there are seds in the wild that do not grok an incomplete last line. Better make this `printf "%s\n" "$cmdline"` if `echo "$cmdline"` is not an option. > fi > > if test "$fetch_prune_tags" = 'true' || -- Hannes