summaryrefslogtreecommitdiffstats
path: root/convert
diff options
context:
space:
mode:
authorGiuseppe Ghibò <ghibo@mageia.org>2022-10-14 18:48:27 +0200
committerGiuseppe Ghibò <ghibo@mageia.org>2022-10-14 18:48:27 +0200
commit0721bc26564fc2962fe6ca77e7ad57dc886dd588 (patch)
tree2635d6edf6dc58010442ff1c162ddbb68a88e410 /convert
parentf287d9766ebb69f5e4cec1ce6432fb91f15a8531 (diff)
downloadldetect-lst-0721bc26564fc2962fe6ca77e7ad57dc886dd588.tar
ldetect-lst-0721bc26564fc2962fe6ca77e7ad57dc886dd588.tar.gz
ldetect-lst-0721bc26564fc2962fe6ca77e7ad57dc886dd588.tar.bz2
ldetect-lst-0721bc26564fc2962fe6ca77e7ad57dc886dd588.tar.xz
ldetect-lst-0721bc26564fc2962fe6ca77e7ad57dc886dd588.zip
Fix header of produced .csv files in extract-nvidia-pcitable.sh
Diffstat (limited to 'convert')
-rwxr-xr-xconvert/extract-nvidia-pcitable.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/convert/extract-nvidia-pcitable.sh b/convert/extract-nvidia-pcitable.sh
index caa1b4ef..d22aab04 100755
--- a/convert/extract-nvidia-pcitable.sh
+++ b/convert/extract-nvidia-pcitable.sh
@@ -77,7 +77,7 @@ if [ ! -e README_${nvidia470_ver}.txt -a ! -e supported-gpus-${nvidia470_ver}.js
rm -rf ./${nvidia470_dir}
fi
fi
-echo "# \"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidia470-from-json-extended.csv
+echo "\"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidia470-from-json-extended.csv
cat supported-gpus-${nvidia470_ver}.json | \
jq -r '.chips[] | select (.legacybranch == null) | [.devid,.subvendorid,.subdevid,.name] | @text'| \
sed -e 's@^\[@@g' -e 's@\]$@@g' | \
@@ -119,7 +119,7 @@ if [ ! -e README_${nvidiacur_ver}.txt -a ! -e supported-gpus-${nvidiacur_ver}.js
rm -rf ./${nvidiacur_dir}
fi
fi
-echo "# \"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidiacurrent-from-json-extended.csv
+echo "\"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidiacurrent-from-json-extended.csv
cat supported-gpus-${nvidiacur_ver}.json | \
jq -r '.chips[] | select (.legacybranch == null) | [.devid,.subvendorid,.subdevid,.name] | @text'| \
sed -e 's@^\[@@g' -e 's@\]$@@g' | \