Skip to content

Commit

Permalink
Update build script to replace $domain globally
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Sep 4, 2011
1 parent e0c1c70 commit 40a727a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 40a727a

Please sign in to comment.