remove abuse of eval()

Change-Id: I8fdba2998f9e4d03c37235c377b5db0aadc27608
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2013-01-25 17:06:06 +01:00 committed by The Qt Project
parent 7f95a57844
commit 707f0a20b4

View File

@ -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)
}