mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
force overwrite file on unziping files
add flag "-o" to overwrite file on unzipping. when a build is interrupted by some issues, it will cause a re-substitution problem after a rebuild the target whose source code come from a zip file (like target jzintv)
This commit is contained in:
parent
5d1ef41936
commit
ec1210eebc
@ -60,7 +60,7 @@ case "${PKG_SOURCE_NAME}" in
|
||||
7z x -o"${2}/${1}" "${FULL_SOURCE_PATH}"
|
||||
;;
|
||||
*.zip)
|
||||
unzip -q "${FULL_SOURCE_PATH}" -d "${2}"
|
||||
unzip -o -q "${FULL_SOURCE_PATH}" -d "${2}"
|
||||
;;
|
||||
*.diff | *.patch)
|
||||
patch -d "${2}" -p1 < "${FULL_SOURCE_PATH}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user