George Lucas admits in a recent interview for the upcoming documentary Trek Nation that Star Wars stood on the shoulders of Star Trek. He basically says Star Wars wouldn't have been as successful had Star Trek not help pave the way for it by building a sic-fi fantasy fan base. Here's the exact quote from Lucas thanks to Hero Complex,
“Star Trek softened up the entertainment arena so that Star Wars could come along and stand on its shoulders. There was an effective group of people in the beginning who accepted it..that it wasn't that far out. For the studios it was way far out, [they said] 'what is this?', but there was a fanbase out there -- primarily the Star Trek fanbase -- who understood sci-fi, understood visual sci-fi, and was ready for something like this (Star Wars) to be in the feature arena."
The Star Trek documentary the chronicles "Rod Roddenberry’s personal journey to explore the importance of the legendary sci-fi franchise dreamed up by his father Gene."
So whether you take the side of Star Wars or Star Trek each side has to accept Star Trek helped make Star Wars happen. Everyone should just be happy now and end the debate.