mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 01:28:53 +00:00
Merge pull request #1087 from stilor/pr-985
Fix detection of missing overlays
This commit is contained in:
commit
94e7967261
@ -2149,8 +2149,7 @@ CT_DoExtractPatch()
|
||||
if [ -d "${overlay}" ]; then
|
||||
CT_DoExecLog ALL cp -av "${overlay}/." "${CT_BUILD_DIR}/overlay"
|
||||
else
|
||||
ext=`CT_GetFileExtension "${overlay}"`
|
||||
if [ ! -r "${overlay}${ext}" ]; then
|
||||
if ! ext=`CT_GetFileExtension "${overlay}"`; then
|
||||
CT_Abort "Overlay ${overlay} not found"
|
||||
fi
|
||||
CT_Extract "${overlay}${ext}" "${CT_BUILD_DIR}/overlay"
|
||||
|
Loading…
Reference in New Issue
Block a user