summaryrefslogtreecommitdiff
path: root/extract-files.py
diff options
context:
space:
mode:
authorCosmin Tanislav <demonsingur@gmail.com>2024-10-27 15:08:31 +0200
committerMichael Bestas <mkbestas@lineageos.org>2024-11-06 13:10:04 +0200
commit9d72fafd0eab2b4f57619e7beb1994a9909041ef (patch)
tree67d51aaa45ceeaf54ddd185465f120af6a5353be /extract-files.py
parent7d27c86735f318a9d3b6f88f68b2ffa5ac65f536 (diff)
barbet: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
Diffstat (limited to 'extract-files.py')
-rwxr-xr-xextract-files.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/extract-files.py b/extract-files.py
new file mode 100755
index 0000000..5bb981f
--- /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}/barbet"
+./extract-files.py $@
+popd