diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2020-12-19 02:53:35 +0200 |
|---|---|---|
| committer | jro1979oliver <jroliveira.oliveira301@gmail.com> | 2021-01-20 16:23:45 -0300 |
| commit | 29cb4c3f2ef83e58f045464e947dda3c0d64b955 (patch) | |
| tree | 21fff204ca42f8a304cb49d497193137b1b8a2e9 | |
| parent | 659abf54974699b65a64c5fe88ab13bfee9879c9 (diff) | |
lux: Switch to standalone extract utils
Align with templates while we are at it
Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
| -rwxr-xr-x | extract-files.sh | 15 | ||||
| -rwxr-xr-x | setup-makefiles.sh | 16 |
2 files changed, 6 insertions, 25 deletions
diff --git a/extract-files.sh b/extract-files.sh index 5997dea..52076fd 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -1,18 +1,9 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project +# Copyright (C) 2017-2020 The LineageOS 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. +# SPDX-License-Identifier: Apache-2.0 # set -e @@ -22,4 +13,4 @@ export DEVICE=lux export DEVICE_COMMON=msm8916-common export VENDOR=motorola -./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@ +"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 19f9f53..e1eefe3 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -1,18 +1,9 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project +# Copyright (C) 2017-2020 The LineageOS 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. +# SPDX-License-Identifier: Apache-2.0 # set -e @@ -21,6 +12,5 @@ set -e export DEVICE=lux export DEVICE_COMMON=msm8916-common export VENDOR=motorola -export DEVICE_BRINGUP_YEAR=2016 -./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@ +"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@" |
