File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393SSH_HOST_RE = re .compile (r'ssh +([^@]+)@([^ ]+)' )
9494
9595__author__ = "Weston Nielson <wnielson@github>"
96- __version__ = "0.3.4 "
96+ __version__ = "0.3.5 "
9797
9898
9999def get_config ():
@@ -237,11 +237,21 @@ def overwrite_transcoder_after_upgrade():
237237def build_env (host = None ):
238238 # TODO: This really should be done in a way that is specific to the target
239239 # in the case that the target is a different architecture than the host
240+ ffmpeg_path = os .environ ["FFMPEG_EXTERNAL_LIBS" ]
241+ backslashcheck = re .search (r'\\' , ffmpeg_path )
242+ if backslashcheck is not None :
243+ ffmpeg_path_fixed = ffmpeg_path .replace ('\\ ' ,'' )
244+ os .environ ["FFMPEG_EXTERNAL_LIBS" ] = str (ffmpeg_path_fixed )
245+
240246 envs = ["export %s=%s" % (k , pipes .quote (v )) for k ,v in os .environ .items ()]
241247 envs .append ("export PRT_ID=%s" % uuid .uuid1 ().hex )
242248 return ";" .join (envs )
243249
244250
251+ # def check_gracenote_tmp():
252+
253+
254+
245255def transcode_local ():
246256 setup_logging ()
247257
You can’t perform that action at this time.
0 commit comments