#!/bin/bash echo "Deploy module and CLI in RCM environment" # Copy Python module ipath=/home/operateur/.local/lib/python3.6/site-packages/FofbTool mkdir -p $ipath cp FofbTool/*.py $ipath/ -rvf # Copy bin CLI cp bin/FofbTool ~/bin/ -vf # Put exec rights chmod +x ~/bin/FofbTool