Skip to content

Commit fbdc58c

Browse files
author
luckylinux
committed
Default to using TMPDIR environment Variable (which everbody can override) instead of /opt/supermicro-fan-control/tmp for onefile Temporary Directory Requirement.
1 parent 04c7ed9 commit fbdc58c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ cp ${toolpath}/opt/supermicro-fan-control/bin/supermicro-fan-control.py ${toolpa
2626
cd ${toolpath}/tmp || exit
2727

2828
# Build using Nuitka
29-
#python -m nuitka --standalone --follow-imports --onefile supermicro-fan-control.py
29+
python -m nuitka --standalone --follow-imports --onefile supermicro-fan-control.py
3030

3131

3232
# Build using Nuitka (needed in order to bypass some noexec Permission Issues ?)
3333
# https://github.com/Nuitka/Nuitka/issues/2246
34-
python -m nuitka --standalone --follow-imports --onefile --onefile-tempdir-spec=/opt/supermicro-fan-control/tmp supermicro-fan-control.py
34+
#python -m nuitka --standalone --follow-imports --onefile --onefile-tempdir-spec=/opt/supermicro-fan-control/tmp supermicro-fan-control.py
3535

3636
# Move into the Respective Folders
3737
mv supermicro-fan-control.dist/* ${toolpath}/dist/

0 commit comments

Comments
 (0)