diff options
-rwxr-xr-x | build-scripts/create-user-build-script | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script index 4e45bc0..63faeaa 100755 --- a/build-scripts/create-user-build-script +++ b/build-scripts/create-user-build-script @@ -326,6 +326,8 @@ EOF if [ -n \${SOURCE_OVERLAY} ]; then # extract the vendor's source overlay tar -x -a -f "\${SOURCE_OVERLAY}" -C . + source_overlay_name=\$(basename \${SOURCE_OVERLAY}) + [ -f ./\${source_overlay_name} ] || cp -uv "\${SOURCE_OVERLAY}" . fi EOF fi |