compile-medialibrary.sh: force uid/gid during tarball extraction
Under rare circonstances, tar will try to preserve uid/gid no matter what, and fail. This can happen for example when trying to build the contribs/extras as a privileged user inside a namespaced container.
This commit is contained in:
committed by
Jean-Baptiste Kempf
parent
9a7eeebabd
commit
ce62f92b58
@@ -56,7 +56,7 @@ if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/${SQLITE_RELEASE}" ]; then
|
||||
echo "Wrong sha1 for ${SQLITE_RELEASE}.tar.gz"
|
||||
exit 1
|
||||
fi
|
||||
tar -xzf ${SQLITE_RELEASE}.tar.gz
|
||||
tar -xozf ${SQLITE_RELEASE}.tar.gz
|
||||
rm -f ${SQLITE_RELEASE}.tar.gz
|
||||
fi
|
||||
cd ${MEDIALIBRARY_MODULE_DIR}/${SQLITE_RELEASE}
|
||||
|
||||
Reference in New Issue
Block a user