From f7be1471e3e48a1d2b294e4a2ca54d4a743b866e Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 6 Nov 2024 05:22:15 +0200 Subject: [PATCH] Update extract-files helper scripts Change-Id: I42081d2ac09e739ecb12548f05c096d1a72b7252 --- extract-files.py | 13 +++++++++++++ extract-files.sh | 13 ------------- setup-makefiles.py | 13 +++++++++++++ 3 files changed, 26 insertions(+), 13 deletions(-) create mode 100755 extract-files.py delete mode 100755 extract-files.sh create mode 100755 setup-makefiles.py diff --git a/extract-files.py b/extract-files.py new file mode 100755 index 0000000..7114763 --- /dev/null +++ b/extract-files.py @@ -0,0 +1,13 @@ +#!/bin/bash +# +# SPDX-FileCopyrightText: 2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 +# + +set -e + +MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)" + +pushd "${MY_DIR}/../pantah/cheetah" +./extract-files.py $@ +popd diff --git a/extract-files.sh b/extract-files.sh deleted file mode 100755 index a1d6fb6..0000000 --- a/extract-files.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017-2020 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -set -e - -MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)" - -"${MY_DIR}/../pantah/cheetah/extract-files.sh" "$@" diff --git a/setup-makefiles.py b/setup-makefiles.py new file mode 100755 index 0000000..02359ad --- /dev/null +++ b/setup-makefiles.py @@ -0,0 +1,13 @@ +#!/bin/bash +# +# SPDX-FileCopyrightText: 2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 +# + +set -e + +MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)" + +pushd "${MY_DIR}/../pantah/cheetah" +./setup-makefiles.py +popd