Skip to content
Snippets Groups Projects
Commit 34279119 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

PKG: install otbcli*, otbgui* scripts as programs with exe bit

parent bccdee50
Branches
Tags
No related merge requests found
......@@ -93,8 +93,8 @@ function(process_deps infile)
message(STATUS "Processing ${SEARCHDIR}/${infile}")
is_file_executable("${SEARCHDIR}/${infile}" is_executable)
if(is_executable)
install(PROGRAMS "${SEARCHDIR}/${infile}"
DESTINATION ${PKG_STAGE_DIR}/bin)
install(PROGRAMS "${SEARCHDIR}/${infile}"
DESTINATION ${PKG_STAGE_DIR}/bin)
else(is_executable)
get_filename_component(bn_we ${infile} NAME_WE)
file(GLOB sofiles "${SEARCHDIR}/${bn_we}*")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment