Reviewed-by: Ashley Desimone <ashley.e.desim...@intel.com>

-----Original Message-----
From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Bjorge, 
Erik C
Sent: Wednesday, January 22, 2020 1:55 PM
To: devel@edk2.groups.io
Cc: Desimone, Nathaniel L <nathaniel.l.desim...@intel.com>; Desimone, Ashley E 
<ashley.e.desim...@intel.com>; Pandya, Puja <puja.pan...@intel.com>; Bret 
Barkelew <bret.barke...@microsoft.com>
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 <erik.c.bjo...@intel.com>
Cc: Nate DeSimone <nathaniel.l.desim...@intel.com>
Cc: Ashley DeSimone <ashley.e.desim...@intel.com>
Cc: Puja Pandya <puja.pan...@intel.com>
Cc: Bret Barkelew <bret.barke...@microsoft.com>
---
 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: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to