Skip to content

Commit b559348

Browse files
committed
[skip ci] fix tarball structure
1 parent 47cc967 commit b559348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/packages/package-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ prepare_packages() {
238238

239239
create_tarball() {
240240
echo "Creating tarball of downloaded packages... "
241-
tar -czvf "${PKG_DIR}/nginx-agent.tar.gz" ${PKG_DIR}/azure/*
241+
tar -czvf "${PKG_DIR}/nginx-agent.tar.gz" -C ${PKG_DIR}/azure .
242242
if [[ $? != 0 ]]; then
243243
echo -e "${RED}Failed to create tarball!${NC}"
244244
return

0 commit comments

Comments
 (0)