File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
function addlibfromstring (str )
17
17
if (str == nil ) then return end
18
18
for w in str :gmatch (" %S+" ) do
19
- if string .starts (w ," -l" )== true then
19
+ if string .starts (w ," -l" ) then
20
20
links {
21
21
string.sub (w ,3 )
22
22
}
27
27
function addoptionsfromstring (str )
28
28
if (str == nil ) then return end
29
29
for w in str :gmatch (" %S+" ) do
30
- if string .starts (w ," -l" )== false then
30
+ if not string .starts (w ," -l" ) then
31
31
linkoptions {
32
32
w
33
33
}
@@ -385,11 +385,11 @@ function qtdebuggerbuild()
385
385
MOCTST = backtick (_OPTIONS [" QT_HOME" ] .. " /bin/moc --version 2>/dev/null" )
386
386
if (MOCTST == ' ' ) then
387
387
local qt_host_libexecs = backtick (_OPTIONS [" QT_HOME" ] .. " /bin/qmake -query QT_HOST_LIBEXECS" )
388
- if ( string .starts (qt_host_libexecs ," /" ) == false ) then
388
+ if not string .starts (qt_host_libexecs ," /" ) then
389
389
qt_host_libexecs = _OPTIONS [" QT_HOME" ] .. " /libexec"
390
390
end
391
391
MOCTST = backtick (qt_host_libexecs .. " /moc --version 2>/dev/null" )
392
- if ( MOCTST == ' ' ) then
392
+ if MOCTST == ' ' then
393
393
print (" Qt's Meta Object Compiler (moc) wasn't found!" )
394
394
os.exit (1 )
395
395
else
@@ -403,7 +403,7 @@ function qtdebuggerbuild()
403
403
if (MOCTST == ' ' ) then
404
404
MOCTST = backtick (" which moc 2>/dev/null" )
405
405
end
406
- if ( MOCTST == ' ' ) then
406
+ if MOCTST == ' ' then
407
407
print (" Qt's Meta Object Compiler (moc) wasn't found!" )
408
408
os.exit (1 )
409
409
end
You can’t perform that action at this time.
0 commit comments