Skip to content

Commit

Permalink
fixed escaping for appstore, for issue #32
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmdnk committed Jan 4, 2016
1 parent 86d5636 commit bf6da8e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/brew-file
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ __author__ = "rcmdnk"
__copyright__ = "Copyright (c) 2013 rcmdnk"
__credits__ = ["rcmdnk"]
__license__ = "MIT"
__version__ = "v3.7.7"
__date__ = "3/Jan/2016"
__version__ = "v3.7.8"
__date__ = "4/Jan/2016"
__maintainer__ = "rcmdnk"
__email__ = "[email protected]"
__status__ = "Prototype"
Expand Down Expand Up @@ -346,7 +346,8 @@ class BrewInfo:
elif cmd == "pip":
self.pip_input.append(p)
elif cmd == "appstore":
self.appstore_input.append(p + opt)
self.appstore_input.append(re.sub("^ *appstore *", "", l).
strip("'").strip('"'))
elif cmd == "file" or cmd.lower() == "brewfile":
self.file_input.append(p)
elif cmd == "before":
Expand Down

0 comments on commit bf6da8e

Please sign in to comment.