Export deals are one of the greetest aim for any country that can't afford to build economy of scale with itself alone, and that's every country except china and USA.
South korea sometimes advance export deals over thier local army to secure the deal and gain more scale in exchange of waiting a little more.
And this way is way better than sticking with your own, until you can't afford to buy the initial number of units then you decide to lower the number of units, which in case you does make unit price way larger because you devide the R&D costs over a smaller number, then you won't be able to export because your system is incompetitive because its price and you don't have the capacity to make it in scale.
Every country can deal with these issues differently, but acting as this is some kind of corruption or stupidity...etc, is just plain zero value discussion.