Gusto / it-cpe-opensource

Tools used by the CPE team at Gusto to manage our endpoints and software deployment systems.
Other
59 stars 29 forks source link

encapsulate pkg/pkginfo paths in quotes to allow for spaces #35

Closed w0de closed 4 years ago

w0de commented 4 years ago

From a debug run:

Running git add pkgs/apps/ZoomIT/ZoomIT-5.2.3 (45131.0907).pkg
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `git add pkgs/apps/ZoomIT/ZoomIT-5.2.3 (45131.0907).pkg'
Running git add pkgsinfo/apps/ZoomIT/ZoomIT-5.2.3 (45131.0907).plist
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `git add pkgsinfo/apps/ZoomIT/ZoomIT-5.2.3 (45131.0907).plist'

Whoops!