Fixing forgotten $CDIR in configure

```
CDIR=/etc/config-tools
-generate 0 /etc/config-tools/config
+generate 0 $CDIR/config
. $CDIR/config
```