1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-24 08:58:40 -05:00
sdrangel/gitdiff.sh

10 lines
299 B
Bash
Raw Permalink Normal View History

#!/bin/sh
2024-08-13 16:27:55 -04:00
BASEDIR=$(dirname $0)
PLUGINS=$(git diff --name-only ${1}..${2} | grep plugins/ | cut -d'/' -f2,3 | sort -u)
for plugin in $PLUGINS
do
FILE=$(find $BASEDIR/plugins/$plugin -name "*plugin.cpp")
2024-11-09 12:46:38 -05:00
sed -i -E "s/QStringLiteral\(\"7\.(.*)\"\)/QStringLiteral\(\"7\.22\.3\"\)/" $FILE
2024-08-13 16:27:55 -04:00
done