From 777dd72b45a636bd93ad7ee59a79c054ae429ce4 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 9 Apr 2022 13:14:37 +0300
Subject: [PATCH] Fix for the reciepts zip Makfile.

Because some of the files have characters that the shell interpets. The
downside is that now the Makefile is not portable but it's GNU specific.
---
 Documents/Shore/taxes/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documents/Shore/taxes/Makefile b/Documents/Shore/taxes/Makefile
index 08130cb..4f80a35 100644
--- a/Documents/Shore/taxes/Makefile
+++ b/Documents/Shore/taxes/Makefile
@@ -3,7 +3,7 @@ last_zip != find -maxdepth 1 -name '*.zip' \! -name '${last_month}.zip' -printf
 new_files != find reciepts/ -type f -newer ${last_zip}
 
 ${last_month}.zip: ${new_files}
-	zip $@ $^
+	zip $@ $(patsubst %,'%',$^)
 
 .PHONY: clean
 clean:
-- 
GitLab