Closed VakarisZ closed 3 years ago
After @ilija-lazoroski did some work to locate the issue, it seems that this isn't really a bug. When you put your path, including the tilde, in quotes, bash does not perform tilde expansion and instead treats the string you gave it as a literal. This is by design, and the behavior of deploy_linux.sh
is consistent with bash's behavior.
The two options for working around this are:
$HOME
instead of a tilde if you want to use quotes.Quotes were removed from the documentation to avoid confusion.
Tasks:
Describe the bug
Documentation of deployment script for Linux describes usage as
./deploy_linux.sh "/home/user/new" "master"
. When I tried command./deploy_linux.sh "~/infection_monkey_deployment_test" "pipenv"
, a new directory "~" was created in a working directory, inside it infection_monkey_deployment_test dir was created. Either documentation is bad or there's a bug with directory creationMachine version (please complete the following information):