Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <anonymous@anon.org>2021-08-21 15:07:57 +0300
committersupermerill <anonymous@anon.org>2021-08-21 15:07:57 +0300
commit9a980ed57ff8e988b084f2972516af2b1d2daf9d (patch)
tree6a25d466ffc389ff05b6d405bc07d47c238b100e
parentf88f224452cee36acfb472622966bb0e77739457 (diff)
update BuildLinux to display usage if no optionslinux-work
-rwxr-xr-xBuildLinux.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/BuildLinux.sh b/BuildLinux.sh
index 0107695d9..189b08914 100755
--- a/BuildLinux.sh
+++ b/BuildLinux.sh
@@ -3,7 +3,7 @@
export ROOT=`pwd`
export NCORES=`nproc --all`
-
+unset name
while getopts ":dsiuh" opt; do
case ${opt} in
u )
@@ -30,6 +30,18 @@ while getopts ":dsiuh" opt; do
esac
done
+if [ $OPTIND -eq 1 ]
+then
+ echo "Usage: ./BuildLinux.sh [-i][-u][-d][-s]"
+ echo " -i: Generate appimage"
+ echo " -d: build deps"
+ echo " -s: build slic3r"
+ echo " -u: only update clock & dependency packets (need sudo)"
+ echo "For a first use, you want to 'sudo ./BuildLinux.sh -u'"
+ echo " and then './BuildLinux.sh -dsi'"
+ exit 0
+fi
+
# mkdir build
if [ ! -d "build" ]
then