Revert "maintenance: Update comment in the OOjs UI pull through script"
authorCatrope <roan.kattouw@gmail.com>
Tue, 22 Jul 2014 22:01:53 +0000 (22:01 +0000)
committerCatrope <roan.kattouw@gmail.com>
Tue, 22 Jul 2014 22:01:53 +0000 (22:01 +0000)
You can't put a comment in the middle of a command split
across multiple lines, it terminates the command.

This reverts commit 3cc4314faaf852417771a86380104bd68cc31b96.

Change-Id: If5889f84033366c62c4924511997b5e6a108cfab

maintenance/resources/update-oojs-ui.sh

index 6eba91d..1b35292 100755 (executable)
@@ -71,10 +71,8 @@ NEWCHANGES=$(git log $OLDHASH.. --oneline --no-merges --reverse --color=never)
 NEWCHANGESDISPLAY=$(git log $OLDHASH.. --oneline --no-merges --reverse --color=always)
 
 # Copy files
-rsync --recursive --delete --force \
-       # Exclude the default non-svg stylesheet, and those for enviroments without CSSJanus
-       --exclude 'oojs-ui.css' --exclude 'oojs-ui*.rtl.css' \
-       ./dist/ "$TARGET_REPO/$TARGET_DIR" || exit 1
+# - Exclude the default non-svg stylesheet
+rsync --recursive --delete --force --exclude 'oojs-ui.css' --exclude 'oojs-ui*.rtl.css' ./dist/ "$TARGET_REPO/$TARGET_DIR" || exit 1
 
 # Read the new version
 NEWVERSION=$(oojsuiversion)