From 29b9e544822bebe86e91a7fe328acc080a2f8053 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 17 Feb 2019 14:40:16 -0500 Subject: Simplify temp trap in up --- bin/up.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/up.sh b/bin/up.sh index 5f9f409c..3850875b 100644 --- a/bin/up.sh +++ b/bin/up.sh @@ -16,10 +16,7 @@ upload() { temp() { temp=$(mktemp -d) - trap rmtemp EXIT -} -rmtemp() { - rm -r "$temp" + trap "rm -r '$temp'" EXIT } uploadText() { -- cgit 1.4.1 e6f872f7a61f76ccda8d96e686eae7c4'/> dontfiles
summary refs log tree commit diff
path: root/bin/pbd.c (unfollow)
Commit message (Expand)Author
2020-06-08Replace __printflike with __attribute__((format(printf, ...)))June McEnroe
2020-06-08Replace __dead2 with __attribute__((noreturn))June McEnroe
2020-06-08Replace __FBSDID macros with commentsJune McEnroe
2020-06-08Remove reference to FreeBSD-specific libedit hackJune McEnroe
2020-06-08Prefix mandoc with exec in about-filterJune McEnroe
2020-06-07Remove mktemp options from mkbuiltins, mktokensJune McEnroe
2020-06-07Cast z_stream fields to size_tJune McEnroe
2020-06-07Call static_assert by _Static_assertJune McEnroe
2020-06-07Add OpenBSD to install.shJune McEnroe
2020-06-03Add The Song of AchillesJune McEnroe
2020-06-01Allow redirecting input in everJune McEnroe
2020-05-31Add %c conversion to c scriptJune McEnroe
2020-05-31Add c script to READMEJune McEnroe
2020-05-31Add c scriptJune McEnroe
2020-05-31Update mdoc source URLsJune McEnroe
2020-05-26Remove unfinished PSF fontsJune McEnroe