mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
Check that any variable substitutions use the full ${VAR} form,
not just $VAR (but don't check for quoting yet).
14 lines
339 B
Bash
Executable File
14 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}" ]]
|