Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark E Smith committed Apr 24, 2024
1 parent 3b3d5e7 commit 11d94f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ganga/GangaLHCb/Lib/Applications/GaudiExec.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,7 @@ def execCmd(self, cmd):
cmd_to_run = 'apptainer exec --bind $PWD --bind %s --bind /cvmfs:/cvmfs:ro ' % os.environ['TMPDIR']\
+ self.containerLocation + ' bash -c "source ' + cmd_file.name + '"'
rc, stdout, stderr = _exec_cmd(cmd_to_run, self.directory)
except BaseException as err:
print(err)
except BaseException:
logger.error('Failed to build the application inside a container. '
'Perhaps the specified container location is not accessible.')
raise GangaException('Failed to execute make command')
Expand Down

0 comments on commit 11d94f1

Please sign in to comment.