From 521e840b54dd896eb192834133c5134a104f1d0b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 8 May 2023 21:23:48 +0300 Subject: [PATCH] Combine commands to one line so that all options work correctly. Thanks to xet7 ! --- rebuild-wekan.sh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh index d34dbf565..12403fa00 100755 --- a/rebuild-wekan.sh +++ b/rebuild-wekan.sh @@ -117,9 +117,7 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- # Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\ - RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run \\ - --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt + WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;; @@ -128,9 +126,7 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\ - RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs \\ - web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production 2>&1 | tee ../wekan-log.txt + WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;; @@ -146,9 +142,7 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\ - RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run \\ - --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt + WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;; @@ -164,9 +158,7 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\ - RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run \\ - --exclude-archs web.browser.legacy,web.cordova --port $PORT 2>&1 | tee ../wekan-log.txt + WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;;