Skip to content

Allow relative paths (and/or support ~) #33

Description

@weotch

I was hoping to be able to use ~ in my deployTo, like "~/myapp/staging". However, the tilde doesn't work when it's used with quotes like:

Error: Command failed: /bin/sh -c ssh xxxxx@xxx.xxx.xxx.xxx "if ( ! [ -h \"~/myapp/staging/releases/20151129224812/storage/framework/sessions\" ] ); then rm -rf \"~/myapp/staging/releases/20151129224812/storage/framework/sessions\" 2> /dev/null; ln -s \"~/myapp/staging/shared/storage/framework/sessions\" \"~/myapp/staging/releases/20151129224812/storage/framework/sessions\"; fi"
ln: failed to create symbolic link ‘~/myapp/staging/releases/20151129224812/storage/framework/sessions’: No such file or directory

Are the quotes surrounding the paths even necessary? FWIW, I tried using $HOME instead of ~ but it breaks some of the shipit-deploy stuff.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions