Disable chmod errors
This commit is contained in:
parent
c02ad7e8ec
commit
3323d0a720
|
@ -77,7 +77,7 @@ else
|
|||
create_desktop_file $(pwd) "default"
|
||||
fi
|
||||
cd ${current_dir}
|
||||
chmod 777 -R "${folder}"
|
||||
chmod 777 -R "${folder}" 2> /dev/null
|
||||
echo "Creating static binary ${2} from folder ${1}"
|
||||
echo "Creating executable linker"
|
||||
cd ${folder}
|
||||
|
|
|
@ -89,7 +89,7 @@ else
|
|||
echo "" >> ${temp_dir}/AppRun
|
||||
echo "\$(dirname \$0)/${ld_so} --library-path \$(dirname \$0) \$(dirname \$0)/${program} \"\$@\"" >> ${temp_dir}/AppRun
|
||||
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}"
|
||||
appimagetool ${temp_dir} "${2}" > /dev/null 2> /dev/null
|
||||
rm -rf ${temp_dir}
|
||||
|
|
Loading…
Reference in New Issue
Block a user