summaryrefslogtreecommitdiff
path: root/msm-platforms
diff options
context:
space:
mode:
Diffstat (limited to 'msm-platforms')
-rwxr-xr-xmsm-platforms/msm-platforms.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/msm-platforms/msm-platforms.sh b/msm-platforms/msm-platforms.sh
index 535eb44..2e95657 100755
--- a/msm-platforms/msm-platforms.sh
+++ b/msm-platforms/msm-platforms.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
OUTPUT=$(mktemp)
OUTPUT_CSV=$(mktemp --suffix .csv)
@@ -14,7 +14,7 @@ for year in $(seq 2008 $(date +%Y)); do
# very old stuff, platform files
# mahimahi and sapphire have board file, but not include in Makefile, exclude them
# trout and halibut use the same SoC, only count one for the SoC
- if git show ${sha}:arch/arm/mach-msm/ &> ${OUTPUT}; then
+ if git show ${sha}:arch/arm/mach-msm/ > ${OUTPUT} 2>&1 ; then
grep 'board-.*\.c' ${OUTPUT} | \
grep -v '\(-panel\|-mmc\|-gpio\|-dt\|-mahimahi\|-sapphire\)' | \
while read -r line ; do
@@ -29,7 +29,7 @@ for year in $(seq 2008 $(date +%Y)); do
fi
# arm32 DT
- if git show ${sha}:arch/arm/boot/dts/ &> ${OUTPUT}; then
+ if git show ${sha}:arch/arm/boot/dts/ > ${OUTPUT} 2>&1 ; then
grep 'qcom-\(msm\|mdm\|ipq\|apq\|sdx\).*.dtsi' ${OUTPUT} | \
grep -v 'qcom-.*-' | \
while read -r line ; do
@@ -42,7 +42,7 @@ for year in $(seq 2008 $(date +%Y)); do
fi
# arm64 DT
- if git show ${sha}:arch/arm64/boot/dts/qcom/ &> ${OUTPUT}; then
+ if git show ${sha}:arch/arm64/boot/dts/qcom/ > ${OUTPUT} 2>&1 ; then
grep '\(apq\|ipq\|msm\|sc\|sdm\|sm\|sa\|qcs\).*\.dtsi' ${OUTPUT} | \
grep -v '\-' | \
while read -r line ; do