Skip to content

Commit

Permalink
Issue moodlehq#41 - Escaping double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Jan 13, 2014
1 parent 84dfd42 commit be98578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ save_moodle_site_data()
grep -o '[0-9]\+' | \
head -n 1)"
local sitecommit="$(${gitcmd} show --oneline | \
head -n 1)"
head -n 1 | \
sed 's/\"/\\"/g')"

local sitedatacontents="siteversion=\"$siteversion\"
sitebranch=\"$sitebranch\"
Expand Down

0 comments on commit be98578

Please sign in to comment.