drush_ctex_bonus works great but it depends on 1 function in the latest drush that is not always available in the latest packages

I'd suggest we'd add something like this

if (!function_exists('drush_trim_path')) {

function drush_trim_path($path, $os = NULL) {
  if (drush_is_windows($os)) {
    return rtrim($path, '/\\');
  }
  else {
    return rtrim($path, '/');
  }
}
  
}

by adding this to my code, drush 4.6 is perfectly happy. We should perhaps think about adding it to this module

CommentFileSizeAuthor
#3 1851640-1.patch713 bytesnick_vh
#1 1851640-1.patch917 bytesnick_vh

Comments

nick_vh’s picture

StatusFileSize
new917 bytes

This should be a patch for this issue

swentel’s picture

Committed and pushed.

nick_vh’s picture

StatusFileSize
new713 bytes

Bad path in the patch, rerolling

swentel’s picture

And fixed of course.

swentel’s picture

Status: Active » Fixed

Urg, comment fail

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.