From 7b711305b56b7d8ea05d6cb9a7f4838172cd4ac1 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 5 Jan 2017 08:47:25 -0600 Subject: [PATCH] makefile fixed from ym mistake from yesterday. i made improvements to the automated distribution functions of the make file <3 --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 0aaf20a6..5b9c1c81 100755 --- a/makefile +++ b/makefile @@ -375,9 +375,9 @@ comq: .symbolic @*upx -9 $(UPXQ) $(EXEC) www: .symbolic - @if exist /var/www/$(EXEC)* @$(REMOVECOMMAND) -f /var/www/$(EXEC)* - @$(REMOVECOMMAND) -f /var/www/*.exe.zip* - @$(COPYCOMMAND) ./$(EXEC) /var/www/ + @for %f in (/var/www/$(EXEC)) do @if exist /var/www/%f $(REMOVECOMMAND) /var/www/%f + @$(REMOVECOMMAND) /var/www/*.exe.zip* + @for %f in ($(EXEC)) do @if exist %f @$(COPYCOMMAND) %f /var/www/ @./src/util/z.sh $(EXEC) $(EXEC) ####@wmake -h wwwext -- 2.39.5