Return to repo list

stctpw

Portage-compatible patch maker for suckless tools.
Return to HMagellan.com

commit 52e970edaff7f2e10ebbf7118b01164ca891981c
parent a1ec09998a7b5aeef5d0cb946b35639a79d52e30
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Mon, 27 Jul 2020 23:58:13 -0500

First version of the script

Diffstat:
Astctpw.sh | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/stctpw.sh b/stctpw.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +MODFILE="$HOME/config.def.h" + +# Flags +while getopts ":f:" option +do + case "${option}" + in + f ) + MODFILE=${OPTARG} + ;; + esac +done +shift $((OPTIND -1)) + +echo "Test: $MODFILE"