diff --git a/setup.py b/setup.py index a5cc9eb..52d9dcf 100644 --- a/setup.py +++ b/setup.py @@ -79,5 +79,5 @@ class CustomInstall(install): }, data_files=create_mo_files(), url="https://github.com/cs50/submit50", - version="2.4.7" + version="2.4.8" ) diff --git a/submit50.py b/submit50.py index 2f64abc..9463124 100755 --- a/submit50.py +++ b/submit50.py @@ -606,9 +606,9 @@ def unescape(s): run("git lfs install --local") run("git config credential.helper cache") # for pre-push hook for large in larges: - run("git rm --cached {}".format(large)) - run("git lfs track {}".format(large)) - run("git add {}".format(large)) + run("git rm --cached {}".format(shlex.quote(large))) + run("git lfs track {}".format(shlex.quote(large))) + run("git add {}".format(shlex.quote(large))) run("git add --force .gitattributes") # files that will be submitted