Skip to content

Commit

Permalink
Merge pull request #1025 from ros-infrastructure/jrivero/fix_binaryde…
Browse files Browse the repository at this point in the history
…b_cleanup

Fix check for WORKSPACE/binarydeb to look use directory instead of file
  • Loading branch information
j-rivero authored Apr 1, 2024
2 parents b9f642f + dd60a7d commit ebf3c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros_buildfarm/templates/release/deb/binarypkg_job.xml.em
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ but disabled since the package is blacklisted (or not whitelisted) in the config
'echo "# END SECTION"',
'',
'echo "# BEGIN SECTION: Run Dockerfile - binarydeb task"',
'# ensure to have write permission before trying to delete the folder',
'if [ -f $WORKSPACE/binarydeb ] ; then chmod -R u+w $WORKSPACE/binarydeb ; fi',
'# ensure to have write permission before trying to delete the directory',
'if [ -d $WORKSPACE/binarydeb ] ; then chmod -R u+w $WORKSPACE/binarydeb ; fi',
'rm -fr $WORKSPACE/binarydeb',
'rm -fr $WORKSPACE/docker_build_binarydeb',
'mkdir -p $WORKSPACE/binarydeb',
Expand Down

0 comments on commit ebf3c90

Please sign in to comment.