In a pinch, booze in the Old Wild West did double duty as a disinfectant.

Today, in a twist, an Oregon distillery is coming to the rescue of customers who can’t find hand sanitizer anywhere because of the coronavirus outbreak.

The Shine Distillery and Grill in Portland took up the cause after a regular asked if she could have a jug of the spirited joint’s homemade cleaner. Staffers make a cleaning concoction out of an undrinkable liquid left over from the distilling process for vodka and whisky.

Her request made owner Jon Poteet think she just might be on to something.

“We did our research and checked with the controlling authorities and come to find, as long as we’re not making a medical claim or selling it, we’re allowed to give it away,” Poteet told Fox 12 Oregon.

The home brew, so to speak, is 80 percent alcohol with some xanthan gum, a thickener, and a little bit of water — and it’s free.

Hand sanitizer in Oregon, like the rest of the U.S., is in short supply. Price gouging in rampant in stores and online.

Poteet is happy to share his mixture with customers.

“Ultimately, I’m part of the community, I want my friends and neighbors to be happy and healthy,” he said. “All my neighbors getting sick and going down doesn’t do me any good. I want to be in a healthy community, and it feels good to be able to give back.”