summaryrefslogtreecommitdiffstats
path: root/pipelight/build/pipelight-plugin_mktemp.patch
blob: 732bf0f0711fabfedb90bafd138cf71153c94062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- mmueller2012-pipelight-54ec02001264/public-scripts/pipelight-plugin.orig	2014-01-19 19:08:06.000000000 +0100
+++ mmueller2012-pipelight-54ec02001264/public-scripts/pipelight-plugin	2014-01-20 11:20:21.260031700 +0100
@@ -494,6 +494,9 @@
 		return 1
 	fi
 
+	# Use Slackware's version of mktemp:
+	sed -i -e 's#mktemp --suffix="\(.*\)"#mktemp -t "pipelight\1".XXXXXX#' "$decfile"
+
 	# Grab the new sha256sum
 	local newsha=$(sha256sum "$decfile" | cut -d' ' -f1)
 
@@ -591,4 +594,4 @@
 	esac
 done
 
-exit "$RET"
\ No newline at end of file
+exit "$RET"