Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Avoid word separation in parameter expansion #858

Merged
merged 2 commits into from
Jul 4, 2018
Merged

Makefile: Avoid word separation in parameter expansion #858

merged 2 commits into from
Jul 4, 2018

Conversation

brlin-tw
Copy link
Contributor

@brlin-tw brlin-tw commented Jul 4, 2018

The build will break when either DESTDIR or prefix contains spaces, this patch wraps the expansion with quotes to avoid the word separations.

Build breaks when DESTDIR contains spaces.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
Build should breaks when DESTDIR contains spaces.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
davvid added a commit to davvid/git-cola that referenced this pull request Jul 4, 2018
…void-word-separation

* Lin-Buo-Ren/patch-make-destdir-avoid-word-separation:
  Quote $prefix expansion to avoid word splitting
  Quote DESTDIR expansion to avoid word splitting

Resolves git-cola#858
Signed-off-by: David Aguilar <davvid@gmail.com>
@davvid davvid merged commit 3aa973e into git-cola:master Jul 4, 2018
@brlin-tw brlin-tw deleted the patch-make-destdir-avoid-word-separation branch July 30, 2018 19:04
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.

None yet

2 participants