[pisa-src] Re: r1175 - in trunk/tools: auto-handover.sh autoupdater.sh create-screenrc.sh pisa_scripts.conf trigger-demo-update.sh

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 15 Oct 2009 18:33:30 +0200

On Thu, Oct 15, 2009 at 04:38:03PM +0200, René Hummen wrote:
> 
> --- trunk/tools/auto-handover.sh      Thu Oct 15 16:22:16 2009        (r1174)
> +++ trunk/tools/auto-handover.sh      Thu Oct 15 16:38:03 2009        (r1175)
> @@ -2,13 +2,15 @@
>  
> +source pisa_scripts.conf

This is not POSIX-compatible syntax, use '.' instead of 'source'.

https://plain.ds-group.info/projects/pisa/cgi-bin/trac.cgi/wiki/PortableShellProgramming

> --- trunk/tools/autoupdater.sh        Thu Oct 15 16:22:16 2009        (r1174)
> +++ trunk/tools/autoupdater.sh        Thu Oct 15 16:38:03 2009        (r1175)
> @@ -1,28 +1,33 @@
> -#!/bin/sh
> +#!/bin/bash
>  
> +
> +source $PWD"/pisa_scripts.conf"

same issue

> --- trunk/tools/create-screenrc.sh    Thu Oct 15 16:22:16 2009        (r1174)
> +++ trunk/tools/create-screenrc.sh    Thu Oct 15 16:38:03 2009        (r1175)
> @@ -1,17 +1,12 @@
> -#! /bin/sh
> +#!/bin/bash
>  
> +                
> +source $PWD"/pisa_scripts.conf"

and again

> --- trunk/tools/trigger-demo-update.sh        Thu Oct 15 16:22:16 2009        
> (r1174)
> +++ trunk/tools/trigger-demo-update.sh        Thu Oct 15 16:38:03 2009        
> (r1175)
> @@ -1,11 +1,16 @@
> -#!/bin/sh
> +#!/bin/bash
>  
> +
> +source $PWD"/pisa_scripts.conf"

...

Diego

Other related posts: