Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau authored and Robonau committed Jun 21, 2024
1 parent 717e6d1 commit 2210c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set-env-variable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ sed -i "s@resolverPLACEHOLDER@$TMP2@" /etc/nginx/conf.d/default.conf
sed -i "s@PLACEHOLDER@$TMP@" /etc/nginx/conf.d/default.conf

TMPTHEME=$(echo "$theme" | sed "skeleton")
find . -type f -name '*.html' -print0 | xargs -0 sed -i "" "s@data-theme='skeleton'@data-theme='$TMPTHEME'@"
find . -name '*.html' -exec sed -i -e "s/data-theme='skeleton'/data-theme='$TMPTHEME'/g" {} \;

0 comments on commit 2210c71

Please sign in to comment.