while 'exploring' some of the limits of forge syntax/usage, trying to see 
if/how bash expansion might work, i find that:





neither



  %global forgeurl1 https://github.com/openresty/headers-more-nginx-module

  %global commit1   git ls-remote %{forgeurl1} | grep HEAD | awk '{print $1}'



nor




  %global forgeurl1 https://github.com/openresty/headers-more-nginx-module


  %global commit1   $( git ls-remote %{forgeurl1} | grep HEAD | awk '{print $1}'
 )





yes, i know this^ is not production-ideal ... and that there are other/better 
options.



that said, _can_ such bash-ism be used in "getting" a forge commit value?


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to