diff --git a/tiny/GNUmakefile b/tiny/GNUmakefile index d8a0c5f..7dd6faf 100644 --- a/tiny/GNUmakefile +++ b/tiny/GNUmakefile @@ -3,7 +3,7 @@ include GNUmakevars CONFDIR=../../configure CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok) -all: configure dus fnp fnpa fnpc fqdn isodate psg +all: configure dus fnp fnpa fnpc fqdn isodate psg save clean: rm fnp fnpa fnpc customize @@ -16,6 +16,7 @@ install: \ $(BINDIR)/fqdn \ $(BINDIR)/isodate \ $(BINDIR)/psg \ + $(BINDIR)/save \ fnp: fnp.sh fnpa: fnpa.sh diff --git a/tiny/save b/tiny/save new file mode 100755 index 0000000..76cd8cc --- /dev/null +++ b/tiny/save @@ -0,0 +1,5 @@ +#!/bin/sh +for i in "$@" +do + mv "$i" "$i.orig" && cp -p "$i.orig" "$i" +done