Skip to content

Commit 8cc7a13

Browse files
committed
config/ie/buildAll : Small fix when running DRYRUN=1
1 parent 0d1f6b9 commit 8cc7a13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config/ie/buildAll

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ def installDocs() :
9595
buildArgs = [ "INSTALL_PREFIX=/software" ]
9696
buildArgs.extend( sysArgs )
9797

98-
if subprocess.call( [ "scons", "installDoc" ] + buildArgs ) != 0 :
98+
cmd = [ "scons", "installDoc" ]
99+
print( " ".join( cmd + buildArgs ) )
100+
if "DRYRUN=1" in sysArgs :
101+
return
102+
103+
if subprocess.call( cmd + buildArgs ) != 0 :
99104

100105
raise RuntimeError("Error : scons installDoc " + str( " ".join( buildArgs ) ) )
101106

0 commit comments

Comments
 (0)