Something is still wrong here after the latest changes. wget output is
being shown on the screen (should not) and sudo is not successfully
being activated on unpack operation.

e.g.:

]GetRecipe kde-libs
GetRecipe: Trying to get
http://gobolinux.org/recipe-store/KDE-Libs--3.5.5--recipe.tar.bz2
GetRecipe: Downloading recipe from
http://gobolinux.org/recipe-store/KDE-Libs--3.5.5--recipe.tar.bz2
--01:28:28--  http://gobolinux.org/recipe-store/KDE-Libs--3.5.5--recipe.tar.bz2
           => `-'
Resolving gobolinux.org... 208.113.155.241
Connecting to gobolinux.org|208.113.155.241|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,685 (1.6K) [application/x-tar]

100%[================================================================================================================>]
1,685         --.--K/s

01:28:29 (123.61 MB/s) - `-' saved [1685/1685]

GetRecipe: Error getting recipe
http://gobolinux.org/recipe-store/KDE-Libs--3.5.5--recipe.tar.bz2
GetRecipe: Could not get recipe

If I run the same command as root, the command succeeds.


On 12/4/06, Jonas Karlsson <[EMAIL PROTECTED]> wrote:
> CVSROOT:        /sources/goboscripts
> Module name:    tools
> Changes by:     Jonas Karlsson <mohjive>        06/12/05 00:44:17
>
> Modified files:
>         Compile/bin    : GetRecipe
>
> Log message:
>         It's a bad idea to redirect output that should be piped
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/tools/Compile/bin/GetRecipe?cvsroot=goboscripts&r1=1.12&r2=1.13
>
> Patches:
> Index: GetRecipe
> ===================================================================
> RCS file: /sources/goboscripts/tools/Compile/bin/GetRecipe,v
> retrieving revision 1.12
> retrieving revision 1.13
> diff -u -b -r1.12 -r1.13
> --- GetRecipe   2 Dec 2006 04:45:44 -0000       1.12
> +++ GetRecipe   5 Dec 2006 00:44:17 -0000       1.13
> @@ -126,7 +126,7 @@
>        then wget="wget --no-check-certificate"
>        else wget="wget"
>        fi
> -      Verbose $wget -t 5 "$rawrecipe" -O - | Verbose $sudo tar xjvf - -C 
> "$getRecipeRecipeDir"
> +      $wget -t 5 "$rawrecipe" -O - | Verbose $sudo tar xjvf - -C 
> "$getRecipeRecipeDir"
>        #wget $rawrecipe -O - | $sudo tar xjvf - -C "$getRecipeRecipeDir"
>        if [ -d "$getRecipeRecipeDir/$app/$version" ]
>        then
> _______________________________________________
> gobolinux-commits mailing list
> [EMAIL PROTECTED]
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits
>


-- 
Andre Detsch
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to