mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
Don't rename parent folder, create wheel at end of process.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -34,10 +34,6 @@ while getopts ":h:a:t:" option; do
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
#Rename repository so it can be imported as a package
|
|
||||||
cd ..
|
|
||||||
mv lanforge-scripts lanforge_scripts
|
|
||||||
cd lanforge_scripts
|
|
||||||
|
|
||||||
mv py-scripts/ py_scripts
|
mv py-scripts/ py_scripts
|
||||||
mv py-json/ py_json
|
mv py-json/ py_json
|
||||||
@@ -443,8 +439,9 @@ if [[ $ARCHIVE -eq 1 ]]; then
|
|||||||
rm speedtest-cli
|
rm speedtest-cli
|
||||||
rm WlanPro.desktop
|
rm WlanPro.desktop
|
||||||
mv wifi_diag lanforge_scripts
|
mv wifi_diag lanforge_scripts
|
||||||
tar -zcvf ${TARGET_DIR}/lanforge_scripts.tar.gz *
|
#tar -zcvf ${TARGET_DIR}/lanforge_scripts.tar.gz *
|
||||||
zip ${TARGET_DIR}/lanforge_scripts.zip *
|
#zip ${TARGET_DIR}/lanforge_scripts.zip *
|
||||||
|
python3 -m build --wheel
|
||||||
else
|
else
|
||||||
echo "Not saving archive"
|
echo "Not saving archive"
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user