[
Date Prev
][
Date Next
] [
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Re: Short script which worked in Lenny but does not in Squeeze.
To
: Debian User Lists <
debian-user@lists.debian.org
>
Subject
: Re: Short script which worked in Lenny but does not in Squeeze.
From
: Guido Martínez <
mtzguido@gmail.com
>
Date
: Wed, 24 Jul 2013 14:56:06 -0300
Message-id
: <
[🔎]
CA++DQUnzWvDB5GOYdjPFMaqCfMKE1cU_Ry=jwbL+e2vZYqq2KA@mail.gmail.com
>
In-reply-to
: <
[🔎]
51F01261.7060709@teksavvy.com
>
References
: <
[🔎]
51F01261.7060709@teksavvy.com
>
Hi,
#!/bin/sh
...
ULB="$HOSTNAME"usrlocalbin.tgz
In my Wheezy setup, sh does not define a shell variable HOSTNAME, but bash does. You can either change the shell to /bin/bash or use $(hostname) (that is, running the hostname command).
This is probably caused by a change in sh.
Hope it helps,
Guido
Reply to:
debian-user@lists.debian.org
Guido Martínez (on-list)
Guido Martínez (off-list)
References
:
Short script which worked in Lenny but does not in Squeeze.
From:
Ken Heard <kenslists@teksavvy.com>
Prev by Date:
Re: Short script which worked in Lenny but does not in Squeeze.
Next by Date:
Re: Short script which worked in Lenny but does not in Squeeze.
Previous by thread:
Re: Short script which worked in Lenny but does not in Squeeze.
Next by thread:
Re: Short script which worked in Lenny but does not in Squeeze.
Index(es):
Date
Thread