From 84171ba17926c43b1aaabbcead8327824606cbf2 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 19 Jan 2021 14:51:44 +0100 Subject: [PATCH] tools: Pass source directory to autosuspend-update.sh This makes sense so that we can extend the script to also update other files. --- hwdb.d/meson.build | 2 +- tools/autosuspend-update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build index f26e1f85762..ec7060a7a17 100644 --- a/hwdb.d/meson.build +++ b/hwdb.d/meson.build @@ -70,4 +70,4 @@ run_target( run_target( 'autosuspend-update', - command : [autosuspend_update_sh, project_source_root + '/tools/chromiumos']) + command : [autosuspend_update_sh, project_source_root]) diff --git a/tools/autosuspend-update.sh b/tools/autosuspend-update.sh index 0e93eab720a..ce945f84f67 100755 --- a/tools/autosuspend-update.sh +++ b/tools/autosuspend-update.sh @@ -4,4 +4,4 @@ set -eu cd "$1" (curl --fail -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \ - | base64 -d > gen_autosuspend_rules.py + | base64 -d > tools/chromiumos/gen_autosuspend_rules.py \ No newline at end of file