GameServerManagers / GameServerManagers/LinuxGSM

Server installs into wrong directory if it has a space in it's name

Open
#3,032 2 comments 1 reaction 0 assignees View on GitHub
command: install info: steamcmd type: bug
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

## User Story

When installing into a directory with a space in the name, it will install into the wrong directory.

* **Distro:** [Linux Mint 20 Ulyana]
* **Game:** [Garry's Mod]
* **Command:** [Install]
* **LinuxGSM version:** [v20.4.1]

## Further Information

During the install process of the server, when it reaches the SteamCMD portion it will create a new directory where it meets a space and install the server under that directory, instead of the current working directory.
An example would be, if you were to install under
/home/user/directory name/installfolder,
it instead would install the server itself under
/home/user/directory,
cutting off the end.

## To Reproduce

-Create an install directory with a space in the name
-Run the install command

## Expected behaviour

For the server files to be installed into the correct directory with spacing in the name.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.