From 3b203df957618aa05942af7d7dd2f2d785c63866 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 6 Nov 2024 05:22:06 +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..4b8dc2d --- /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/panther" +./extract-files.py $@ +popd diff --git a/extract-files.sh b/extract-files.sh deleted file mode 100755 index c5ddfd8..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/panther/extract-files.sh" "$@" diff --git a/setup-makefiles.py b/setup-makefiles.py new file mode 100755 index 0000000..2b324a9 --- /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/panther" +./setup-makefiles.py +popd