Commit 1aa03ce3 authored by gsell's avatar gsell
Browse files

scripts/Bootstrap/Pmodules/modmanage.in:

- in function sync_modules(): do not sync module template files
parent 86651079
...@@ -163,15 +163,15 @@ sync_module() { ...@@ -163,15 +163,15 @@ sync_module() {
fi fi
# if modulefile is a sym-link, sync link target file # if modulefile is a sym-link, sync link target file
if [[ -L "${src_modulefile}" ]]; then #if [[ -L "${src_modulefile}" ]]; then
local canonical_fname=$(readlink -f "${src_modulefile}") # local canonical_fname=$(readlink -f "${src_modulefile}")
local src_template=$(dirname "${canonical_fname}") # local src_template=$(dirname "${canonical_fname}")
local modulename=$(basename "${src_template}") # local modulename=$(basename "${src_template}")
local target_template="${target_prefix}/${PSI_TEMPLATES_DIR}/${modulename}" # local target_template="${target_prefix}/${PSI_TEMPLATES_DIR}/${modulename}"
$DRY rsync --links --perms --recursive --delete \ # $DRY rsync --links --perms --recursive --delete \
"${src_template}/" \ # "${src_template}/" \
"${target_template}" # "${target_template}"
fi #fi
} }
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment