From 30a2bc6cc950bcd460e5a3651ab869a732a0f50b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jun 2024 07:01:15 +0300 Subject: Refactoring --- bin/ak-sm-filesplitter | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ak-sm-filesplitter') diff --git a/bin/ak-sm-filesplitter b/bin/ak-sm-filesplitter index 7365b19..4cbb4e4 100755 --- a/bin/ak-sm-filesplitter +++ b/bin/ak-sm-filesplitter @@ -49,7 +49,7 @@ source $AK_LIBDIR/_ak_log if [ ! -d "$TECHDIR" ] then mkdir -p "$TECHDIR" - if [ "$?" == 0 ] + if [ $? -eq 0 ] then _ak_log_info "Folder $TECHDIR created!" else @@ -65,7 +65,7 @@ fi if [ ! -d "$FILEMAPSDIR" ] then mkdir -p "$FILEMAPSDIR" - if [ "$?" == 0 ] + if [ $? -eq 0 ] then _ak_log_info "Folder $FILEMAPSDIR created!" else @@ -81,7 +81,7 @@ fi if [ ! -d "$CHKDIR" ] then mkdir -p "$CHKDIR" - if [ "$?" == 0 ] + if [ $? -eq 0 ] then _ak_log_info "Folder $CHKDIR created!" else -- cgit v1.2.3