diff --git a/contrib/generate-ui.sh b/contrib/generate-ui.sh index 349b6a544..980a87c24 100755 --- a/contrib/generate-ui.sh +++ b/contrib/generate-ui.sh @@ -5,6 +5,6 @@ for file in *.ui do gen_file=ui_`echo $file| cut -d. -f1`.py pyside2-uic $file -o $gen_file - sed -i 's/raise()/raise_()/g' $gen_file + sed -i '' -e 's/raise()/raise_()/g' $gen_file done popd