Skip to content

Commit 60aa9e9

Browse files
riavalonandrewseguin
authored andcommitted
fix(scripts): change all paths in docs pushing script to relative paths (#3091)
1 parent 28e32df commit 60aa9e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release/publish-docs-content.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
cd "$(dirname $0)/../../"
77

8-
docsPath="/dist/docs"
8+
docsPath="./dist/docs"
99
repoPath="/tmp/material2-docs-content"
1010
repoUrl="https://github.com/DevVersion/material2-docs-content"
11-
examplesSource="/dist/docs/examples"
11+
examplesSource="./dist/docs/examples"
1212

1313
# If the docs directory is not present, generate docs
1414
if [ ! -d $docsPath ]; then
@@ -22,7 +22,7 @@ commitAuthorEmail="$(git --no-pager show -s --format='%ae' HEAD)"
2222
commitMessage="$(git log --oneline -n 1)"
2323

2424
# create directory and clone test repo
25-
rm -rf /tmp/
25+
rm -rf $repoPath
2626
mkdir -p $repoPath
2727
git clone $repoUrl $repoPath
2828

0 commit comments

Comments
 (0)