From 59912a097938826cdbc5e552b9da708e33bd575d Mon Sep 17 00:00:00 2001 From: Paul Buehler Date: Fri, 13 Dec 2024 10:37:36 +0100 Subject: [PATCH] Set the environment variable Upcgen_ROOT automatically when loading the module Upcgen --- upcgen.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/upcgen.sh b/upcgen.sh index 3d676abf18..99b585c703 100644 --- a/upcgen.sh +++ b/upcgen.sh @@ -32,3 +32,12 @@ MODULEDIR="$INSTALLROOT/etc/modulefiles" MODULEFILE="$MODULEDIR/$PKGNAME" mkdir -p "$MODULEDIR" alibuild-generate-module --bin --lib > "$MODULEFILE" +cat >> "$MODULEFILE" <