aboutsummaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh23
1 files changed, 20 insertions, 3 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 706ede0..efba795 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,7 +1,24 @@
-#!/bin/sh
+#!/bin/bash
+#
+# Copyright (C) 2016 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
set -e
-export VENDOR=lge
export DEVICE=h815
-./../../$VENDOR/g4-common/extract-files.sh $@
+export VENDOR=lge
+
+# Use common extractor
+../g4-common/extract-files.sh $@