Hi,
The following scripts shipped with the repo:
createmodule.sh / createmodule.py
They were written many years ago, it seems there are some bugs in them.
See the following tests:
modules.git/script$ ./createmodule.py /opt/intel/vtune_profiler/amplxe-vars.sh intel64
WARNING: initscript sent the following to stderr:
/bin/sh: 3: /opt/intel/vtune_profiler/amplxe-vars.sh: Bad substitution
ERROR: Could not parse output line:
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.