Skip to content

Commit 2f8cae4

Browse files
committed
capsule_cabinet.sh: support passing EDK2 dir as env variable
Change-Id: Ifaa44cb0e55165694aee422a003518e2f21d21a3 Signed-off-by: Michał Kopeć <[email protected]>
1 parent 4240254 commit 2f8cae4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

capsule_cabinet.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
set -e
55

6-
edk_workspace=payloads/external/edk2/workspace
7-
edk_tools=${edk_workspace}/Dasharo/BaseTools/BinWrappers/PosixLike
8-
edk_scripts=${edk_workspace}/Dasharo/BaseTools/Scripts
6+
edk_workspace=${EDK_WORKSPACE:-payloads/external/edk2/workspace/Dasharo}
7+
edk_tools=${edk_workspace}/BaseTools/BinWrappers/PosixLike
98

109
function die() {
1110
echo error: "$@" 1>&2

0 commit comments

Comments
 (0)