Skip to content

Commit 249fa77

Browse files
authored
Fix sh bug with package.py
sh commands after :zip were not being executed
1 parent f48be17 commit 249fa77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,9 @@ def commands_step(path, commands):
779779
)
780780
else:
781781
batch.append(c)
782+
if batch:
783+
step("sh", path, "\n".join(batch))
784+
batch.clear()
782785

783786
for claim in claims:
784787
if isinstance(claim, str):
@@ -1526,6 +1529,7 @@ def prepare_command(args):
15261529
Outputs a filename and a command to run if the archive needs to be built.
15271530
"""
15281531

1532+
15291533
log = logging.getLogger("prepare")
15301534

15311535
# Load the query.

0 commit comments

Comments
 (0)