[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Short script which worked in Lenny but does not in Squeeze.



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: