71. A sentence of detention passed by a court martial or a commanding officer on any person shall be executed by causing that person to undergo the term of his detention in detent-ion barracks or in air-force custody or partly in one way and partly in the other, but not in a prison. *Execution of sentenceof detention.*