e4014fd82b3819875269703e6a9d7f441299e3a4
maximilianh
  Sat Apr 26 02:05:25 2025 +0200
fixing a small OSX problem in GBIC, no redmine

diff --git src/inc/cgiLoader.mk src/inc/cgiLoader.mk
index b8ed3f1aef4..2d5326a5cf6 100644
--- src/inc/cgiLoader.mk
+++ src/inc/cgiLoader.mk
@@ -10,20 +10,20 @@
 ########################################################################
 
 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 ${SQL_FILES:%=%_sql_install}
 	chmod a+rx ${A}${EXE}
 	${MKDIR} ${CGI_LOADER_DEST}
 	chmod a+rx ${A}${EXE}
 	mv -f ${A}${EXE} ${CGI_LOADER_DEST}/
 
 %_sql_install:
 	@${MKDIR} ${CGI_LOADER_DEST}
-	cp -fp --remove-destination $* ${CGI_LOADER_DEST}/
+	cp -fp ${CPREMDESTOPT} $* ${CGI_LOADER_DEST}/
 
 cgi:: cgi_any
 alpha:: cgi_any
 beta:: cgi_any