diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-30 07:01:15 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-30 07:01:15 +0300 |
commit | 30a2bc6cc950bcd460e5a3651ab869a732a0f50b (patch) | |
tree | ff9abace41c2d356301f0fcd72211ee974c7efb9 /bin/ak-sm-filesplitter | |
parent | 35ddac1871fbbc608417e1b1ec2012bf09687edd (diff) | |
download | arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.tar.gz arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.tar.bz2 arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.zip |
Refactoring
Diffstat (limited to 'bin/ak-sm-filesplitter')
-rwxr-xr-x | bin/ak-sm-filesplitter | 6 |
1 files changed, 3 insertions, 3 deletions
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 |