View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014840 | CMake | CMake | public | 2014-03-26 04:09 | 2014-03-28 03:48 | ||||
Reporter | th.thielemann | ||||||||
Assigned To | Eric NOULARD | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | VMware | OS | Linux | OS Version | Ubuntu 12.04 LTS | ||||
Product Version | CMake 2.8.12.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014840: install can not handle "~" | ||||||||
Description | Tried to install into a subfolder of users home on linux. Used the shortcut "~" for this. | ||||||||
Steps To Reproduce | Not working: set("DROP_FOLDER" "~/localdropfolder") ... install(DIRECTORY ${PROJECT_SOURCE_DIR}/qml DESTINATION "${DROP_FOLDER}" ) But this is working: set("DROP_FOLDER" "~/localdropfolder") get_filename_component(QML_PATH_ABSOLUT "${DROP_FOLDER}" ABSOLUTE) install(DIRECTORY ${PROJECT_SOURCE_DIR}/qml DESTINATION "${QML_PATH_ABSOLUT}" ) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035516) Eric NOULARD (developer) 2014-03-26 04:15 |
AFAIK ~ expansion is the responsibility of the underlying shell so relying on its expansion is not portable. Couldn't you use $ENV{HOME} instead ? |
(0035546) th.thielemann (reporter) 2014-03-28 02:56 |
Oh. I did not thought about that. I will try it. Ticket can be closed. |
(0035548) Eric NOULARD (developer) 2014-03-28 03:48 |
Closing on reporter request. using $ENV{HOME} should work. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-03-26 04:09 | th.thielemann | New Issue | |
2014-03-26 04:15 | Eric NOULARD | Note Added: 0035516 | |
2014-03-28 02:56 | th.thielemann | Note Added: 0035546 | |
2014-03-28 03:48 | Eric NOULARD | Note Added: 0035548 | |
2014-03-28 03:48 | Eric NOULARD | Status | new => closed |
2014-03-28 03:48 | Eric NOULARD | Assigned To | => Eric NOULARD |
2014-03-28 03:48 | Eric NOULARD | Resolution | open => no change required |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |