Why not simply CEPH_DEV_DIR="$CEPH_DIR/dev" CEPH_OUT_DIR="$CEPH_DIR/out" and reduce the number of variables ?