1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 03:49:57 +00:00
termux-packages/root-packages/lxc/templates-lxc-local.in.patch
2022-04-18 14:31:06 +05:30

13 lines
471 B
Diff

diff -uNr lxc-3.1.0/templates/lxc-local.in lxc-3.1.0.mod/templates/lxc-local.in
--- lxc-3.1.0/templates/lxc-local.in 2018-12-14 01:13:51.000000000 +0200
+++ lxc-3.1.0.mod/templates/lxc-local.in 2019-07-13 19:37:11.128180850 +0300
@@ -146,7 +146,7 @@
# Create temporary directory to
if ! command -V mktemp >/dev/null 2>&1; then
- LOCAL_TEMP=/tmp/lxc-local.$$
+ LOCAL_TEMP=@TERMUX_PREFIX@/tmp/lxc-local.$$
mkdir -p "${LOCAL_TEMP}"
else
LOCAL_TEMP=$(mktemp -d)