d4b3318b18e4bbabc0bd6666bae82016cc8fae5e
chmalee
  Mon Mar 24 14:57:31 2025 -0700
Make hubspace hooks get into the loader directory automatically, refs #31058

diff --git src/inc/cgiLoader.mk src/inc/cgiLoader.mk
index bbb182920e5..181faca2d8a 100644
--- src/inc/cgiLoader.mk
+++ src/inc/cgiLoader.mk
@@ -1,28 +1,29 @@
 ########################################################################
 # make rules for programs that CGI loaders.
 #
 # These are all userApps as well and this includes userApps.mk
 #
 #	kentSrc = ../..
 #	A = aveCols
 #	include ${kentSrc}/inc/cgiLoader.mk
 #
 ########################################################################
 
 include ${kentSrc}/inc/userApp.mk
 include ${kentSrc}/inc/cgiVars.mk
 
+
 # this target uses CGI_BIN_DEST set in cgiVars.mk to do any of the CGI targers
 cgi_any:: compile
 	chmod a+rx ${A}${EXE}
-	${MKDIR} ${CGI_BIN_DEST}/loader
+	${MKDIR} ${CGI_LOADER_DEST}
 	chmod a+rx ${A}${EXE}
-	mv -f ${A}${EXE} ${CGI_BIN_DEST}/loader/
+	mv -f ${A}${EXE} ${CGI_LOADER_DEST}/
 	for F in ${SQL_FILES}; do \
 	    B=`basename $$F` ; \
-	    cp -fp --remove-destination $$F ${CGI_BIN_DEST}/loader/$$B ; \
+	    cp -fp --remove-destination $$F ${CGI_LOADER_DEST}/$$B ; \
 	done
 
 cgi:: cgi_any
 alpha:: cgi_any
 beta:: cgi_any