2023-10-23 01:14:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# . CONFIG.sh
|
|
|
|
|
|
|
|
# set -o xtrace ## To debug scripts
|
|
|
|
# set -o errexit ## To exit on error
|
|
|
|
# set -o errunset ## To exit if a variable is referenced but not set
|
|
|
|
|
|
|
|
|
|
|
|
function main() {
|
|
|
|
call_path=`pwd`
|
|
|
|
path=""
|
|
|
|
|
|
|
|
if [[ ! "${1::1}" == /* ]]; then
|
|
|
|
path="${call_path}/${1}"
|
|
|
|
else
|
|
|
|
path="${1}"
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd "/opt/"
|
2023-10-23 03:02:45 +00:00
|
|
|
python /opt/gtkcodethemer.zip "$@"
|
2023-10-23 01:14:19 +00:00
|
|
|
}
|
|
|
|
main "$@";
|