package/flutter-engine: use appropriate TAR
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Adam Duskett <adam.duskett@amarulasolutions.com> [Arnout: quote TAR="..."] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
c6ee0ea47c
commit
68fd0009e3
@ -176,6 +176,7 @@ endif
|
|||||||
|
|
||||||
# Generate a tarball if one does not already exist.
|
# Generate a tarball if one does not already exist.
|
||||||
define FLUTTER_ENGINE_GENERATE_TARBALL
|
define FLUTTER_ENGINE_GENERATE_TARBALL
|
||||||
|
TAR="$(TAR)" \
|
||||||
PATH=$(HOST_DIR)/share/depot_tools:$(BR_PATH) \
|
PATH=$(HOST_DIR)/share/depot_tools:$(BR_PATH) \
|
||||||
PYTHONPATH=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR) \
|
PYTHONPATH=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR) \
|
||||||
PUB_CACHE=$(FLUTTER_SDK_BIN_PUB_CACHE) \
|
PUB_CACHE=$(FLUTTER_SDK_BIN_PUB_CACHE) \
|
||||||
|
@ -70,7 +70,7 @@ gen_tarball() {
|
|||||||
# - it insists on having a full git repositoy, with .git et al., which means
|
# - it insists on having a full git repositoy, with .git et al., which means
|
||||||
# we can't generate a reproducible archive anyway.
|
# we can't generate a reproducible archive anyway.
|
||||||
# So we jsut create a plain tarball.
|
# So we jsut create a plain tarball.
|
||||||
tar -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" .
|
${TAR} -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" .
|
||||||
mv "${TARBALL_NAME}" "${TARBALL_DL_PATH}"
|
mv "${TARBALL_NAME}" "${TARBALL_DL_PATH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user