Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
channel_completion
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CDS
channel_completion
Commits
e0ad574e
Commit
e0ad574e
authored
Jan 22, 2019
by
Jonathan Hanks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some debug messages from the install phase, added some comments.
parent
dfbeb81b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
bash/link_file.cmake.in
bash/link_file.cmake.in
+6
-3
No files found.
bash/link_file.cmake.in
View file @
e0ad574e
message("external process DESTDIR=$ENV{DESTDIR} INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@ SCRIPT_DIR=@COMPLETE_SCRIPT_DIR@")
# This cmake script is used to provide relative links between the ligo_channel_completion
# bash completion script and the names of the various commands that that get completed.
# It is done in an external script as it needs to have access to the DESTDIR environment
# variable (if present) which is found at run/install time, not at configuration time.
# ideas from https://stackoverflow.com/questions/35765106/symbolic-links-cmake
set (LINK_ENTRIES "@COMPLETE_THESE_COMMANDS@")
...
...
@@ -6,6 +10,5 @@ foreach (entry ${LINK_ENTRIES})
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ligo_channel_completion ${entry}
WORKING_DIRECTORY "$ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@"
)
message("-- Created symlink: for ${entry}")
message("-- Created symlink: for ${entry}
in $ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@
")
endforeach()
message("Working dir = $ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@")
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment