Skip to content

Commit

Permalink
spk.mk: Also include files in staging root directory in package.tgz
Browse files Browse the repository at this point in the history
When testing the package creation with spk/demoservice it appeared
that files in staging/README was not being processed.  This is due
to the "-type d" option which only include directories, thus leaving
files location at root of staging (e.g. target/) to be skipped.
  • Loading branch information
th0ma7 committed Sep 28, 2021
1 parent e74bc99 commit a919a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/spksrc.spk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ $(DSM_LICENSE_FILE): $(LICENSE_FILE)
$(WORK_DIR)/package.tgz: icon service
$(create_target_dir)
@[ -f $@ ] && rm $@ || true
(cd $(STAGING_DIR) && find . -mindepth 1 -maxdepth 1 -not -empty -type d | tar cpzf $@ --owner=root --group=root --files-from=/dev/stdin)
(cd $(STAGING_DIR) && find . -mindepth 1 -maxdepth 1 -not -empty | tar cpzf $@ --owner=root --group=root --files-from=/dev/stdin)

DSM_SCRIPTS = $(addprefix $(DSM_SCRIPTS_DIR)/,$(DSM_SCRIPT_FILES))

Expand Down

0 comments on commit a919a7a

Please sign in to comment.