Fixed nnms_fs().

This commit is contained in:
Sheldon Lee 2020-10-11 13:26:39 +08:00
parent 1ee6e20be8
commit f85f1256dc

View File

@ -25,10 +25,11 @@ cfdir()
nnms_fs()
{
dir_name="newnumyspace"
if [ ! -d $PWD/$dirname ]
if [ ! -d $PWD/$dir_name ]
then
echo "Created new directory $dirname at ${PWD}"
mkdir $dir_name
echo "Created new directory $dir_name at ${PWD}"
fi
sshfs unn_w19014537@newnumyspace.co.uk:/home/unn_w19014537/ newnumyspace/
echo "Mounted at $PWD/$dirname."
sshfs unn_w19014537@newnumyspace.co.uk:/home/unn_w19014537/ $dir_name/
echo "Mounted at $PWD/$dir_name."
}