various fixes

This commit is contained in:
David Young
2026-04-09 14:58:24 -06:00
parent 5543eb0d66
commit 70c73005ee
5 changed files with 14 additions and 14 deletions

View File

@@ -162,8 +162,10 @@ fetch_source() {
if [ "$count" -eq 1 ] && [ -d "$src_dir/$contents" ]; then
echo " Descending into $contents..."
local inner="$src_dir/$contents"
shopt -s dotglob
mv "$inner"/* "$src_dir/"
rmdir "$inner"
shopt -u dotglob
rm -rf "$inner"
fi
;;
*.tar.gz|*.tgz)
@@ -308,7 +310,7 @@ if [ ! -f "$CONF_FILE" ]; then
fi
mkdir -p "$TMP_DIR"
mkdir -p "$HOME/.local/state/HamPack"
mkdir -p "$HOME/.local/state/HamPackServer"
echo "Starting HamPack source builds..."
process_conf