ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Artem <u2u@nm.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: I: powersave-0.9.25-alt2
Date: Thu, 04 Aug 2005 15:20:53 +0300
Message-ID: <42F20825.5060406@nm.ru> (raw)
In-Reply-To: <pan.2005.07.22.06.13.15.146328@altlinux.com>

Anton Farygin wrote:

>
>
>
>Сделано было уже давно... 
>
>Посмотрите, очень удачная штука.
>
>  
>
Хм. А что это он у меня при сборке выдает:

/home/user/tmp/powersave-buildroot/usr/bin/wttyhx: line 45: syntax error 
near unexpected token `('
/home/user/tmp/powersave-buildroot/usr/bin/wttyhx: line 45: `        
read USERNAME DUMMY <<(getent passwd $1)'
ошибка: /bin/sh не удалось
ошибка: Невозможно найти Requires

wttyhx:

getusername() 
{                                                                                                       

        local _IFS 
DUMMY                                                                                              

        
_IFS="$IFS"                                                                                                   

        
IFS=:                                                                                                         

        read USERNAME DUMMY < <(getent passwd 
$1)                                                                    
         
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------|   
line 45
        echo 
$USERNAME                                                                                                

        
IFS="${_IFS}"                                                                                                 

}              

:-\


  parent reply	other threads:[~2005-08-04 12:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 16:50 [sisyphus] " Anton Farygin
2005-07-05 18:00 ` Alex Yustasov
2005-07-06  5:47   ` [sisyphus] " Anton Farygin
2005-07-06  7:14   ` [sisyphus] " Denis Ovsienko
2005-07-06  8:04     ` Alex Yustasov
2005-07-21 17:19 ` Artem
2005-07-22  6:13   ` [sisyphus] " Anton Farygin
2005-07-22 10:15     ` Artem
2005-08-04 12:20     ` Artem [this message]
2005-08-05 12:47       ` [sisyphus] " Anton Farygin
2005-08-07  7:15         ` Artem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42F20825.5060406@nm.ru \
    --to=u2u@nm.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git