[SCM] mjpegtools/master: Added 09_script_path.patch: set PATH in scripts that depend on diverted scripts

Reinhard Tartler siretart at tauware.de
Sun May 1 10:01:32 UTC 2011


On Sun, May 01, 2011 at 11:34:30 (CEST), lucidfox-guest at users.alioth.debian.org wrote:

> The following commit has been merged in the master branch:
> commit cf6a2a033706c32dcd08e814048ddf83aee326fb
> Author: Maia Kozheva <sikon at ubuntu.com>
> Date:   Sun May 1 16:24:26 2011 +0700
>
>     Added 09_script_path.patch: set PATH in scripts that depend on diverted scripts
>
> diff --git a/debian/patches/09_script_path.patch b/debian/patches/09_script_path.patch
> new file mode 100644
> index 0000000..13ca627
> --- /dev/null
> +++ b/debian/patches/09_script_path.patch
> @@ -0,0 +1,13 @@
> +Index: mjpegtools/scripts/anytovcd.sh
> +===================================================================
> +--- mjpegtools.orig/scripts/anytovcd.sh	2011-05-01 16:23:04.279142122 +0700
> ++++ mjpegtools/scripts/anytovcd.sh	2011-05-01 16:23:32.229142109 +0700
> +@@ -19,6 +19,8 @@
> + #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> + #
> + 
> ++PATH=/usr/lib/mjpegtools/bin:$PATH
> ++

Is that really enough? I think a line 'export PATH' is missing here, so
that also programs that get executed in the context of this script
pick-up the new location.


> + AUD_TRACK="1"
> + VOLUMES="1"
> + PREFIX_OUT="out"
> diff --git a/debian/patches/series b/debian/patches/series
> index 8832de7..31e67ba 100644
> --- a/debian/patches/series
> +++ b/debian/patches/series
> @@ -6,3 +6,4 @@
>  06_link_pthread.patch
>  07_yuvdenoise_disable_sse2.patch
>  08_use_bash.patch
> +09_script_path.patch

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list