You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-build-tools-packaging/debian/bin/symmangle

9 lines
269 B

#!/bin/bash
if [ -d ./debian ]; then
for i in `find . -name symbols`; do
k=`echo $i | sed "s#/DEBIAN/symbols##" | sed "s#./debian/##"`
cat "$i" | sed 's/ \(_.*\) \(.*\)/ (c++)"\1" \2/' | c++filt | sort | uniq | tee "debian/$k.mangled";
done
fi