The barrel of "CAIRO SYRUP" (around 7:33) is an "Egypt" pun on Karo Syrup, a brand of corn syrup still sold today.
The title and the French Foreign Legion setting in North Africa spoof the feature film Beau Geste (1926). The story and characters are pure Looney Tunes.