Closed sudoBash418 closed 1 year ago
LGTM. Does anything else break?
Nope, with this change it worked perfectly! (I made some minor tweaks because I'm not using Github Pages, but I don't think they should matter)
Ok, I'll merge this PR once I figure out some permission errors. I somehow lost write access to the entire org /shrug.
On user-mode CTFd instances, the glob for team pages in
04_fix_pagination/stage.sh
doesn't match any files and thus doesn't expand, causinggit mv
to fail on a non-existent file.The same issue is present with the
sed
glob later in the script.Enabling nullglob fixes this by having the glob expand to a null string when no files match.