mirror of
https://github.com/SinTan1729/random.git
synced 2025-04-04 10:28:04 -05:00
fix: Redundant selector
This commit is contained in:
parent
99a494ea1e
commit
e3620e946b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# This script opens supported locations in my server by appropriately changing the
|
||||
# mount locations for it to work over ssh.
|
||||
|
||||
ROOTDIR="$(echo $PWD | cut -d/ -f-2,3)"
|
||||
ROOTDIR="$(echo $PWD | cut -d/ -f-3)"
|
||||
|
||||
if [ "$ROOTDIR" == "/mnt/server" ]; then
|
||||
ssh -t server-ts-rsync "cd \"/mnt/storage/$(echo $PWD | cut -d/ -f4-)\"; fish -l"
|
||||
|
|
Loading…
Reference in a new issue