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>
(cherry picked from commit 68fd0009e3
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
14ce0332e1
commit
892de65e7d
@ -170,6 +170,7 @@ endif
|
||||
|
||||
# Generate a tarball if one does not already exist.
|
||||
define FLUTTER_ENGINE_GENERATE_TARBALL
|
||||
TAR="$(TAR)" \
|
||||
PATH=$(HOST_DIR)/share/depot_tools:$(BR_PATH) \
|
||||
PYTHONPATH=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR) \
|
||||
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
|
||||
# we can't generate a reproducible archive anyway.
|
||||
# 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}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user