Hi!

The scripts are really awesome! They keep building on every new Kstars version! Thank you very much.

I found that it would be great to set the ROOTDIR in a custom location, so I introduced a small improvement on the scripts. Unfortunately, I didn't find the way to submit a Pull Request, so I am including the patch code here for other users:

astro@raspberrypi:/media/astro/rootfs/home/astro/Downloads/astro-soft-build $ git diff
diff --git a/build-soft-stable.sh b/build-soft-stable.sh
index e37f9b7..b105827 100755
--- a/build-soft-stable.sh
+++ b/build-soft-stable.sh
@@ -9,7 +9,8 @@ INDI_3RD_COMMIT="v2.0.6"
 STELLAR_COMMIT="e415e51d99224f239c24634519c030ef60969723"
 KSTARS_COMMIT="origin/stable-3.6.9"
 
-ROOTDIR="$HOME/astro-soft-stable"
+HOME_DIR=${HOME_DIR:-$HOME}
+ROOTDIR="$HOME_DIR/astro-soft-stable"
 
 JOBS=$(grep -c ^processor /proc/cpuinfo)

To use a custom location for the ROOTDIR, just set variable HOME_DIR before calling the script:
export HOME_DIR=/YOUR/CUSTOM_FOLDER
./build-soft-stable.sh

Then all the build folders will show on /YOUR/CUSTOM_FOLDER

Read More...