mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
mfshell: add configuration file parsing
This commit is contained in:
@@ -17,4 +17,8 @@ esac
|
||||
|
||||
cmd="valgrind --suppressions="${source_dir}/valgrind.supp" --fullpath-after="$source_dir" --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes --track-origins=yes"
|
||||
|
||||
$cmd "${binary_dir}/mediafire-shell" -c "help; whoami"
|
||||
if [ ! -f "./.mediafire-tools.conf" -a ! -f "~/.mediafire-tools.conf" ]; then
|
||||
echo "no configuration file found" >&2
|
||||
exit 1
|
||||
fi
|
||||
$cmd "${binary_dir}/mediafire-shell" -c "help; ls; whoami"
|
||||
|
||||
Reference in New Issue
Block a user