Skip to content

Fix creation of temp build dir#175

Merged
scaronni merged 1 commit intodkms-project:masterfrom
heftig:fix-build-dir
Nov 15, 2021
Merged

Fix creation of temp build dir#175
scaronni merged 1 commit intodkms-project:masterfrom
heftig:fix-build-dir

Conversation

@heftig
Copy link
Contributor

@heftig heftig commented Nov 12, 2021

Since $source_dir is just a symlink to the actual source directory, using cp -a on it just copies the symlink instead of the contents.

This makes the build fail when the source directory isn't writable.

Commit d038a60 broke this when it dropped the trailing slash.

Since `$source_dir` is just a symlink to the actual source directory,
using `cp -a` on it just copies the symlink instead of the contents.

This makes the build fail when the source directory isn't writable.

Commit d038a60 broke this when it
dropped the trailing slash.
@evelikov
Copy link
Collaborator

Thanks for the fix @heftig - it's spot on.

Looking through the commit - there are two other instances where the trailing / is dropped - although they are cosmetic print statements.

@scaronni scaronni merged commit afbdf16 into dkms-project:master Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants