-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exec with real path to python wrappers
Makes it possible to symlink to them from /usr/bin etc to make dist packaging easier. Could probably be done with shell script but python is already requried so it seems more portable.
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#! /bin/bash | ||
BASEDIR=$(dirname $0) | ||
exec python "$BASEDIR/../utils/mp4-dash.py" "$@" | ||
#!/usr/bin/env python | ||
import os,sys | ||
os.execv(os.path.realpath(sys.argv[0] + "/../../utils/mp4-dash.py"), sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#! /bin/bash | ||
BASEDIR=$(dirname $0) | ||
exec python "$BASEDIR/../utils/mp4-dash-clone.py" "$@" | ||
#!/usr/bin/env python | ||
import os,sys | ||
os.execv(os.path.realpath(sys.argv[0] + "/../../utils/mp4-dash-clone.py"), sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#! /bin/bash | ||
BASEDIR=$(dirname $0) | ||
exec python "$BASEDIR/../utils/mp4-hls.py" "$@" | ||
#!/usr/bin/env python | ||
import os,sys | ||
os.execv(os.path.realpath(sys.argv[0] + "/../../utils/mp4-hls.py"), sys.argv) |