Michał Górny:
>>              sed -i -e '/^CPPFLAGS\s*=/ s/-g //' \
>>                      qmake/Makefile.unix || die "sed failed (CPPFLAGS for 
>> qmake build)"
>>
>>              # Respect CXX in {bsymbolic_functions,fvisibility,precomp}.test
>>              sed -i -e "/^QMAKE_CONF_COMPILER=/ s:=.*:=\"$(tc-getCXX)\":" \
>>                      configure || die "sed failed (QMAKE_CONF_COMPILER)"
>>
>>              # Respect toolchain and flags in config.tests
>>              find config.tests/unix -name '*.test' -type f -print0 \
>>                      | xargs -0 sed -i -e '/bin\/qmake/ s/-nocache //' \
>>                      || die "sed failed (config.tests)"
> 
> find ... -exec sed ... {} +
> 

Unless you really need it please use -execdir instead, since -exec is
insecure. Afais it should work both ways here.

Reply via email to