|
@@ -83,7 +83,7 @@ fn_check_permissions(){
|
|
|
fi
|
|
fi
|
|
|
# Check if executable is executable and attempt to fix it
|
|
# Check if executable is executable and attempt to fix it
|
|
|
# First get executable name
|
|
# First get executable name
|
|
|
- execname="$(basename "${executable}"
|
|
|
|
|
|
|
+ execname="$(basename "${executable})"
|
|
|
if [ -f "${executabledir}/${execname}" ]; then
|
|
if [ -f "${executabledir}/${execname}" ]; then
|
|
|
# Get permission numbers on file under the form 775
|
|
# Get permission numbers on file under the form 775
|
|
|
execperm="$(stat -c %a "${executabledir}/${execname}")"
|
|
execperm="$(stat -c %a "${executabledir}/${execname}")"
|