On Mon, Dec 03, 2012 at 03:28:18PM -0500, Jon Stanley wrote: > Future release of Fedora are going to remove /etc/sysconfig/network > which we source to get $HOSTNAME. Bash (and sh) set $HOSTNAME in > the shell by default, so we should be safe to use that here. This > adds the benefit of working across multiple distributions if that > is required in the future.
This looks like it is a bashism (ie dash does not do this), so you should update the #! to use /bin/bash not /bin/sh... $ HOSTNAME= /bin/dash \h{\u}\w#echo $HOSTNAME \h{\u}\w# Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html