: nply/foundationpkgs

commit e3c31984b0ef0e32c5455e54ff6aa240f5d23408
parent ba91a7c926b43245c58de6b9c7995a3007e57269
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 11 Sep 2026 20:27:17 +0530

Source CI helpers from script directory
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/fpkgs-ci.sh b/scripts/fpkgs-ci.sh
@@ -29,7 +29,10 @@ FPKGS_DL_ROOT=${FPKGS_DL_ROOT:-/srv/http/dl.nply.org/foundationpkgs}
 FPKGS_WORK_ROOT=${FPKGS_WORK_ROOT:-/var/tmp/fpkgs-ci}
 FPKGS_REF=${FPKGS_REF:-refs/heads/main}
 
-if [ -f "$FPKGS_ROOT/scripts/functions.sh" ]; then
+if [ -f "$SELF_DIR/functions.sh" ]; then
+	# shellcheck disable=SC1091
+	. "$SELF_DIR/functions.sh"
+elif [ -f "$FPKGS_ROOT/scripts/functions.sh" ]; then
 	# shellcheck disable=SC1091
 	. "$FPKGS_ROOT/scripts/functions.sh"
 else