Skip to content
Snippets Groups Projects
Commit 3178fa12 authored by Bob Mottram's avatar Bob Mottram
Browse files

Permissions on build log

parent d1f18070
No related branches found
No related tags found
No related merge requests found
......@@ -205,10 +205,9 @@ fi
build_log_filename="${web_dir}/buildlog_${PROJECT_NAME}-${targetstr}.txt"
# remove any existing build log
if [ -f "$build_log_filename" ]; then
rm "$build_log_filename"
fi
echo 'No build results yet' > "$build_log_filename"
chmod 755 "$build_log_filename"
chown www-data:www-data "$build_log_filename"
# install from the source directory
cd "${source_directory}" || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment