Skip to content

Commit

Permalink
Android compability
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnKozak committed Aug 15, 2022
1 parent 9125d9b commit 667be09
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bin/unwxapkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ __install_or_upgrade() {
exit 1
}

local tmpdir="/tmp/tmp-$(date +%y%m%d%H%M%S)"
local tmpdirname="tmp-$(date +%y%m%d%H%M%S)"
local tmpdir="/tmp/$tmpdirname"
mkdir -p "$tmpdir" || {
echo "Could not create temp dir for install." 1>&2
exit 1
tmpdir="$HOME/.$tmpdirname"
mkdir -p "$tmpdir" || {
echo "Could not create temp dir '$tmpdir' for install." 1>&2
exit 1
}
}
cd "$tmpdir"
__clean_on_exit() {
Expand Down

0 comments on commit 667be09

Please sign in to comment.