+ making .sh files executable
This commit is contained in:
@@ -62,6 +62,11 @@ deploy_file() {
|
||||
|
||||
file_name=$(basename ${_trg_path})
|
||||
|
||||
suffix=".sh"
|
||||
if [[ ${file_name} == *$suffix ]]; then
|
||||
chmod 755 ${_trg_path}
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "${file_name}:"
|
||||
ls -al ${_trg_path}
|
||||
|
||||
Reference in New Issue
Block a user