Overview
@plater Instead of running echo many times, use a heredoc with cat instead: https://linuxize.com/post/bash-heredoc/#basic-heredoc-examples
But echo
is practically a shell-builtin and cat
isn't :-p
echo "Name: abc Version: 0 Cflags: $blah" >x.pc
Would have made my life simpler, I could have just pasted the twolame pc file I used as a template without having to add the echo's. I have to resubmit for the libdir, I've seen heredocs but haven't understood them so I just stuck to echo.
Libdir is being hardcoded to lib64
Request History
plater created request
- Create pkgconfig file.
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar_suse set openSUSE:Factory:Staging:D as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:D"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:D"
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:D got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:D got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:D got accepted.