Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update build script to replace $domain globally

  • Loading branch information...
commit 40a727a6df7f31cd94b7375d3c10e07ec105d084 1 parent e0c1c70
@vojtajina authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/build.sh
View
4 scripts/build.sh
@@ -52,8 +52,8 @@ sed -Ei "s|js/utils.js|$ASSET_PREFIX/helpdesk.min.js|" "$BUILD_DIR/index.html"
sed -Ei "s|favicon.ico|$ASSET_PREFIX/favicon.ico|" "$BUILD_DIR/index.html"
sed -Ei "/script src=\"js/d" "$BUILD_DIR/index.html"
-sed -Ei "s|DOMAIN_NAME|$DOMAIN_NAME|" "$BUILD_DIR/index.html"
-sed -Ei "s|DOMAIN_URL|$DOMAIN_URL|" "$BUILD_DIR/index.html"
+sed -Ei "s|DOMAIN_NAME|$DOMAIN_NAME|g" "$BUILD_DIR/index.html"
+sed -Ei "s|DOMAIN_URL|$DOMAIN_URL|g" "$BUILD_DIR/index.html"
# create archive
tar -zcvf helpdesk-client.tar.gz "$BUILD_DIR"
Please sign in to comment.
Something went wrong with that request. Please try again.