Update packelf.sh
Fix permissions bug when executing different binaries with different users.
This commit is contained in:
parent
40e0aeb2e3
commit
f9220e331f
|
@ -102,7 +102,7 @@ unpack() {
|
|||
if [ -n "$PACKELF_TMP_DIR" ]; then
|
||||
unpack_dir="$PACKELF_TMP_DIR"
|
||||
else
|
||||
tmp_parent=/tmp/packelf_tmp
|
||||
tmp_parent=/tmp
|
||||
mkdir -p "$tmp_parent"
|
||||
unpack_dir=$(mktemp -d -p "$tmp_parent" || echo "$tmp_parent")
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user