diff options
Diffstat (limited to 'python-updater')
-rwxr-xr-x | python-updater | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python-updater b/python-updater index d34d916..fc3294f 100755 --- a/python-updater +++ b/python-updater @@ -489,7 +489,10 @@ while (($#)); do done if [[ "${PMS_COMMAND[${PMS_INDEX}]}" == "emerge" ]]; then - alias sed="$(/usr/bin/python -c "import os; print(os.path.dirname(os.path.realpath('$(type -p emerge)')))")/ebuild-helpers/sed" + sed="$(/usr/bin/python -c "import os; print(os.path.dirname(os.path.realpath('$(type -p emerge)')))")/ebuild-helpers/sed" + if [[ -x "${sed}" ]]; then + alias sed="${sed}" + fi fi if has_version "=dev-lang/python-2*"; then |