- mkdir -p $BINDIR
- mkdir -p $LOGDIR
- touch $LOGDIR/$LOGFILE
- if [ $comando = "antifraude.pl" ]; then
- mkdir -p $DATADIR
- mkdir -p $DATADIR/{aprocesar,enproceso,rechazadas,procesadas}
+ mkdir -p "$BINDIR"
+ mkdir -p "$LOGDIR"
+ mkdir -p "$CONFDIR/lock"
+
+ touch "$LOGDIR/$LOGFILE"
+ if [ "$comando" = "antifraude.pl" ]; then
+ mkdir -p "$DATADIR"
+ mkdir -p "$DATADIR"/{aprocesar,enproceso,rechazadas,procesadas}
+ mkdir -p "$DATADIR/alarmas"