aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-29 14:34:47 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-29 14:34:47 -0500
commitcdda89a3c76fef80f29951389df88ed23d052d52 (patch)
treecf143b11bcffa7302278147b7d7ee7324f9cbc9e
parent4a5c20c7ea88e597c373b9d22c6b31131878a7b7 (diff)
downloadpm-cdda89a3c76fef80f29951389df88ed23d052d52.tar.gz
pm-cdda89a3c76fef80f29951389df88ed23d052d52.tar.xz
Remove unused functoin and add clean to makefile.
-rw-r--r--Makefile3
-rwxr-xr-xpm7
2 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index dbfbcff..2da16ac 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,6 @@ all: strftime
install: strftime
install -m 755 strftime $(PREFIX)/bin/strftime
install -m 755 pm $(PREFIX)/bin/pm
+
+clean:
+ rm -f strftime
diff --git a/pm b/pm
index 6993f9f..b102d41 100755
--- a/pm
+++ b/pm
@@ -48,13 +48,6 @@ getFifo() {
echo "$_p"
}
-tmpdir() {
- _t=$(mktemp)
- rm -f "$_t"
- mkdir "$_t"
- echo "$_t"
-}
-
_clip() {
case $(uname) in
Darwin)