mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 10:19:35 +00:00
Merge "bin: Enable 'set -e' and 'set -u' in bash scripts"
This commit is contained in:
commit
368f7a29a8
|
@ -1,4 +1,4 @@
|
|||
#! /bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
# Requires VisualEditor.i18n.php to still contain all messages
|
||||
# To reset it to that state, you can run:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash -eu
|
||||
|
||||
# This script generates a structured git log of commits to the VisualEditor-MediaWiki repository,
|
||||
# and walks the submodule updates to the lib/ve submodule and the OOjs and OOjs UI pull-through
|
||||
|
@ -11,9 +11,9 @@
|
|||
cd $(cd $(dirname $0)/..; pwd)
|
||||
|
||||
# Ensure input is correct
|
||||
if [ "x$1" = "x" ]
|
||||
if [ -z "${1:-}" ]
|
||||
then
|
||||
echo >&2 "Usage: listRecentCommits.sh startBranch"
|
||||
echo >&2 "Usage: listRecentCommits.sh <startBranch>"
|
||||
exit 1
|
||||
fi
|
||||
STARTHASH=`git rev-parse $1`
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash -eu
|
||||
|
||||
# This script generates a commit that updates the lib/ve submodule
|
||||
# ./bin/updateSubmodule.sh updates to master
|
||||
|
|
Loading…
Reference in a new issue