remove abuse of eval()
Change-Id: I8fdba2998f9e4d03c37235c377b5db0aadc27608 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
7f95a57844
commit
707f0a20b4
@ -24,8 +24,8 @@ defineReplace(addGnuPath) {
|
||||
unset(gnuPath)
|
||||
gnuPath = $$1
|
||||
!isEmpty(gnuPath):!isEmpty(GNUTOOLS) {
|
||||
eval(gnuPath = $${GNUTOOLS} && $$gnuPath)
|
||||
silent: eval(gnuPath = @echo generating sources from ${QMAKE_FILE_IN} && $$val_escape($$gnuPath))
|
||||
gnuPath = $${GNUTOOLS} && $$gnuPath
|
||||
silent: gnuPath = @echo generating sources from ${QMAKE_FILE_IN} && $$gnuPath
|
||||
}
|
||||
return($$gnuPath)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user