aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-fs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-fs')
-rwxr-xr-xbin/ak-fs11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/ak-fs b/bin/ak-fs
index 84ef3b9..f95a924 100755
--- a/bin/ak-fs
+++ b/bin/ak-fs
@@ -36,9 +36,10 @@ fullprogrampath="$(realpath $0)"
PROGRAM=$(basename $0)
descriptionString="AKFS tools"
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_script
-source $AK_LIBDIR/_ak_fs
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
+_ak_lib_load _ak_fs
if [ ! -z $1 ]
then
@@ -56,8 +57,8 @@ then
--gfm) _ak_fs_get_from_map_hash $2; exit;;
--rhd) _ak_fs_return_hash_dir $2; echo ;exit;;
--rhp) _ak_fs_return_hash_path $2; echo ; exit;;
- * ) _ak_usage;;
+ * ) _ak_usage err;;
esac
else
- _ak_usage
+ _ak_usage err
fi