Reviewed-by: Ashley Desimone <[email protected]> -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bjorge, Erik C Sent: Wednesday, January 22, 2020 1:55 PM To: [email protected] Cc: Desimone, Nathaniel L <[email protected]>; Desimone, Ashley E <[email protected]>; Pandya, Puja <[email protected]>; Bret Barkelew <[email protected]> Subject: [edk2-devel] [edk2-staging/EdkRepo][PATCH v1] EdkRepo: Fixed execution of final_copy.py
On Ubuntu the script final_copy.py was not able to run without prepending ./ to the script name. Signed-off-by: Erik Bjorge <[email protected]> Cc: Nate DeSimone <[email protected]> Cc: Ashley DeSimone <[email protected]> Cc: Puja Pandya <[email protected]> Cc: Bret Barkelew <[email protected]> --- build-scripts/build_linux_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/build_linux_installer.py b/build-scripts/build_linux_installer.py index 4501dec..0130552 100755 --- a/build-scripts/build_linux_installer.py +++ b/build-scripts/build_linux_installer.py @@ -55,7 +55,7 @@ def main(): # Step 4: Package installer files try: - subprocess.run('final_copy.py', check=True) + subprocess.run(os.path.join('.', 'final_copy.py'), check=True) except: print('Failed to generate installer package') return 1 -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#53455): https://edk2.groups.io/g/devel/message/53455 Mute This Topic: https://groups.io/mt/69995553/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
