From 410632c0d815c2ef384683d9ccf8c0abc94f5abc Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 6 Nov 2024 04:59:19 +0200 Subject: [PATCH] Update extract-files helper scripts Change-Id: I42081d2ac09e739ecb12548f05c096d1a72b7252 --- extract-files.py | 13 +++++++++++++ extract-files.sh | 12 ------------ setup-makefiles.py | 13 +++++++++++++ 3 files changed, 26 insertions(+), 12 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..7ee6645 --- /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}/../caimito/tokay" +./extract-files.py $@ +popd diff --git a/extract-files.sh b/extract-files.sh deleted file mode 100755 index dd5866a..0000000 --- a/extract-files.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -# -# SPDX-FileCopyrightText: 2016 The CyanogenMod Project -# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project -# SPDX-License-Identifier: Apache-2.0 -# - -set -e - -MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)" - -"${MY_DIR}/../caimito/tokay/extract-files.sh" "$@" diff --git a/setup-makefiles.py b/setup-makefiles.py new file mode 100755 index 0000000..6b069c0 --- /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}/../caimito/tokay" +./setup-makefiles.py +popd