[edk2-devel] [edk2-staging/EdkRepo][PATCH v1] EdkRepo: Fixed execution of final_copy.py
Bjorge, Erik C
erik.c.bjorge at intel.com
Wed Jan 22 21:55:13 UTC 2020
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.bjorge at intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone at intel.com>
Cc: Ashley DeSimone <ashley.e.desimone at intel.com>
Cc: Puja Pandya <puja.pandya at intel.com>
Cc: Bret Barkelew <Bret.Barkelew at 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 (#53434): https://edk2.groups.io/g/devel/message/53434
Mute This Topic: https://groups.io/mt/69995553/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list