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

bash syntax




Can someone tell me if this is just incorrect syntax that is causing this
not to work:

#!/bin/bash
USER="rufus"
HOMEDIR="/home/test/rufus"
        if [ -z $HOMEDIR ]; then
                mkdir $HOMEDIR
                chmod 755 $HOMEDIR
                chown $HOMEDIR $USER
        fi
#
#


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.