Disable chmod errors

This commit is contained in:
q3aql 2024-07-18 16:45:53 +02:00
parent c02ad7e8ec
commit 3323d0a720
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ else
create_desktop_file $(pwd) "default" create_desktop_file $(pwd) "default"
fi fi
cd ${current_dir} cd ${current_dir}
chmod 777 -R "${folder}" chmod 777 -R "${folder}" 2> /dev/null
echo "Creating static binary ${2} from folder ${1}" echo "Creating static binary ${2} from folder ${1}"
echo "Creating executable linker" echo "Creating executable linker"
cd ${folder} cd ${folder}

View File

@ -89,7 +89,7 @@ else
echo "" >> ${temp_dir}/AppRun echo "" >> ${temp_dir}/AppRun
echo "\$(dirname \$0)/${ld_so} --library-path \$(dirname \$0) \$(dirname \$0)/${program} \"\$@\"" >> ${temp_dir}/AppRun echo "\$(dirname \$0)/${ld_so} --library-path \$(dirname \$0) \$(dirname \$0)/${program} \"\$@\"" >> ${temp_dir}/AppRun
create_desktop_file "${temp_dir}" "${program}" create_desktop_file "${temp_dir}" "${program}"
chmod 777 -R "${temp_dir}" chmod 777 -R "${temp_dir}" 2> /dev/null
echo "Building static binary in ${2}" echo "Building static binary in ${2}"
appimagetool ${temp_dir} "${2}" > /dev/null 2> /dev/null appimagetool ${temp_dir} "${2}" > /dev/null 2> /dev/null
rm -rf ${temp_dir} rm -rf ${temp_dir}