mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-24 23:30:40 +00:00
Avoid temp file vulnerabilities
This commit is contained in:
parent
53cb8c9a32
commit
10f9ea7db5
1 changed files with 1 additions and 2 deletions
|
@ -141,10 +141,9 @@ create_armbian()
|
||||||
# creating rootfs
|
# creating rootfs
|
||||||
# Speed copy increased x10
|
# Speed copy increased x10
|
||||||
# Variables for interfacing with rsync progress
|
# Variables for interfacing with rsync progress
|
||||||
nsi_conn_path="/tmp/nand-sata-install"
|
nsi_conn_path="${TempDir}/nand-sata-install"
|
||||||
nsi_conn_done="${nsi_conn_path}/done"
|
nsi_conn_done="${nsi_conn_path}/done"
|
||||||
nsi_conn_progress="${nsi_conn_path}/progress"
|
nsi_conn_progress="${nsi_conn_path}/progress"
|
||||||
rm -rf "${nsi_conn_path}"
|
|
||||||
mkdir -p "${nsi_conn_path}"
|
mkdir -p "${nsi_conn_path}"
|
||||||
echo 0 >"${nsi_conn_progress}"
|
echo 0 >"${nsi_conn_progress}"
|
||||||
echo no >"${nsi_conn_done}"
|
echo no >"${nsi_conn_done}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue