Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a source link under source directory, strange? #1

Closed
rjyo opened this issue Jun 2, 2011 · 4 comments
Closed

a source link under source directory, strange? #1

rjyo opened this issue Jun 2, 2011 · 4 comments

Comments

@rjyo
Copy link

rjyo commented Jun 2, 2011

I got something like:

$ ls -al
...
lrwxrwxrwx  1 jyo jyo   23 Jun  2 19:44 source -> /home/jyo/pusher/source
...

Anyway, thanks for this great work

@rjyo
Copy link
Author

rjyo commented Jun 3, 2011

In deploy()

run "ln -sf $path/source $path/current"

It works fine for the first time, but it would create a symbolic link named source under current since the second time. It would be nice to have a -n, which says "If the target_file or target_dir is a symbolic link, do not follow it. This is most useful with the -f option, to replace a symlink which may point to a directory."

run "ln -sfn $path/source $path/current"

@tj tj closed this as completed in 0c9fca1 Jun 3, 2011
@tj
Copy link
Member

tj commented Jun 3, 2011

good call I didn't notice that at first, when I saw source in source I thought it was just an issue while I was writing it haha

@tj
Copy link
Member

tj commented Jun 3, 2011

you can deploy update

@rjyo
Copy link
Author

rjyo commented Jun 3, 2011

Thanks TJ. You are my hero!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants