Opened 7 years ago

Last modified 5 years ago

#4846 closed defect

Make sure the Jenkins build script can patch itself — at Version 1

Reported by: Itms Owned by: Itms
Priority: Should Have Milestone:
Component: Build & Packages Keywords:
Cc: Patch:

Description (last modified by Itms)

Case in point: building Phab:D1026 failed with

build/jenkins/build-patch.sh: 69: cd: can't cd to build/workspaces/gcc

meaning that the unpatched version of the script was still being executed. As far as I know a script that modifies itself keeps track of the current position in the file, so I have to assume the issue comes from the patched code being higher in the file (line 69) than the place where the patching happens (line 102).

I don't see an obvious way to fix this so I'm opening this ticket for tracking future improvements. Suggestions are welcome as well :-)

Change History (1)

comment:1 by Itms, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.