Skip to content

Commit

Permalink
Force all symlinks to be relative
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrenaud committed Dec 11, 2019
1 parent 22b047c commit 768ab5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Envoy.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@

mkdir -p `dirname "{{ $releasePath }}/{{ $dir }}"`

ln -sfn "{{ $sharedPath }}/{{ $dir }}" "{{ $releasePath }}/{{ $dir }}"
ln -srfn "{{ $sharedPath }}/{{ $dir }}" "{{ $releasePath }}/{{ $dir }}"
@endforeach
@endtask

Expand All @@ -159,7 +159,7 @@

mkdir -p `dirname "{{ $releasePath }}/{{ $file }}"`

ln -sfn "{{ $sharedPath }}/{{ $file }}" "{{ $releasePath }}/{{ $file }}"
ln -srfn "{{ $sharedPath }}/{{ $file }}" "{{ $releasePath }}/{{ $file }}"
@endforeach
@endtask

Expand Down Expand Up @@ -245,7 +245,7 @@
@task('deploy:symlink')
echo "Linking directory {{ $releasePath }} to {{ $currentPath }}"

ln -sfn "{{ $releasePath }}" "{{ $currentPath }}"
ln -srfn "{{ $releasePath }}" "{{ $currentPath }}"
@endtask

@task('deploy:publish')
Expand Down Expand Up @@ -335,7 +335,7 @@

echo "Linking directory {{ $releasesPath }}/$RELEASE to {{ $currentPath }}"

ln -sfn "{{ $releasesPath }}/$RELEASE" "{{ $currentPath }}"
ln -srfn "{{ $releasesPath }}/$RELEASE" "{{ $currentPath }}"
@endtask

@macro('setup')
Expand Down

0 comments on commit 768ab5d

Please sign in to comment.