diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-04-20 13:02:02 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-04-20 20:11:13 +0200 |
commit | 3b6fd3c1dea070cb1882b8810e18a45158a356f2 (patch) | |
tree | 1a42abd78e9acf4cf528c6e0e8998652c87ede9d /tools/update-hwdb-autosuspend.sh | |
parent | src: shellcheck-ify shell scripts (diff) | |
download | systemd-3b6fd3c1dea070cb1882b8810e18a45158a356f2.tar.xz systemd-3b6fd3c1dea070cb1882b8810e18a45158a356f2.zip |
tools: shellcheck-ify most of the tool scripts
Diffstat (limited to 'tools/update-hwdb-autosuspend.sh')
-rwxr-xr-x | tools/update-hwdb-autosuspend.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/update-hwdb-autosuspend.sh b/tools/update-hwdb-autosuspend.sh index 7d5a9a8cf5..c69773087d 100755 --- a/tools/update-hwdb-autosuspend.sh +++ b/tools/update-hwdb-autosuspend.sh @@ -2,7 +2,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later set -eu -cd "$1" +cd "${1:?}" (curl --fail -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \ | base64 -d > tools/chromiumos/gen_autosuspend_rules.py |