aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-sm-filesplitter
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-sm-filesplitter')
-rwxr-xr-xbin/ak-sm-filesplitter18
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/ak-sm-filesplitter b/bin/ak-sm-filesplitter
index f9f5cff..7365b19 100755
--- a/bin/ak-sm-filesplitter
+++ b/bin/ak-sm-filesplitter
@@ -51,14 +51,14 @@ then
mkdir -p "$TECHDIR"
if [ "$?" == 0 ]
then
- logit "INFO" "Folder $TECHDIR created!"
+ _ak_log_info "Folder $TECHDIR created!"
else
- logit "ERROR" "Problem occured while creating $TECHDIR"
+ _ak_log_error "Problem occured while creating $TECHDIR"
echo "ERROR Can't create $TECHDIR"
exit 1
fi
else
- logit "INFO" "Temp dir found"
+ _ak_log_info "Temp dir found"
fi
# FILEMAPSDIR
@@ -67,14 +67,14 @@ then
mkdir -p "$FILEMAPSDIR"
if [ "$?" == 0 ]
then
- logit "INFO" "Folder $FILEMAPSDIR created!"
+ _ak_log_info "Folder $FILEMAPSDIR created!"
else
- logit "ERROR" "Problem occured while creating $FILEMAPSDIR"
+ _ak_log_error "Problem occured while creating $FILEMAPSDIR"
echo "ERROR Can't create $FILEMAPSDIR"
exit 1
fi
else
- logit "INFO" "Mapsdir found"
+ _ak_log_info "Mapsdir found"
fi
# CHKDIR
@@ -83,14 +83,14 @@ then
mkdir -p "$CHKDIR"
if [ "$?" == 0 ]
then
- logit "INFO" "Folder $CHKDIR created!"
+ _ak_log_info "Folder $CHKDIR created!"
else
- logit "ERROR" "Problem occured while creating $CHKDIR"
+ _ak_log_error "Problem occured while creating $CHKDIR"
echo "ERROR Can't create $CHKDIR"
exit 1
fi
else
- logit "INFO" "Workdir found"
+ _ak_log_info "Workdir found"
fi
# Uncomment next line in case you want to debug the resulting script as well