mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
Check that any variable substitutions use the full ${VAR} form, not just $VAR (but don't check for quoting yet).
13 lines
339 B
Bash
Executable file
13 lines
339 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
diff="$(git diff -- */*/Cargo.lock)"
|
|
echo "${diff}"
|
|
[[ -z "${diff}" ]]
|