From 70aa8e40ac4d106ddb296d6bf45e5b8388fb5249 Mon Sep 17 00:00:00 2001 From: 2Shirt Date: Thu, 18 Mar 2021 22:49:15 -0600 Subject: [PATCH] Skip copying .git* items to macOS images --- setup/macos-live/update-base-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/macos-live/update-base-image b/setup/macos-live/update-base-image index 06eeac73..cf68f44b 100755 --- a/setup/macos-live/update-base-image +++ b/setup/macos-live/update-base-image @@ -44,7 +44,7 @@ echo "Installing Hombrew..." mkdir -p "${WK_PATH}/usr/local/bin" ln -s python3 "${WK_PATH}/usr/local/bin/python" rsync -aS /opt/ "${WK_PATH}/opt"/ -rsync -aS /usr/local/{Cellar,Frameworks,Homebrew,bin,etc,include,lib,libexec,opt,sbin,share,var} "${WK_PATH}/usr/local"/ +rsync -aS --exclude='.git*' /usr/local/{Cellar,Frameworks,Homebrew,bin,etc,include,lib,libexec,opt,sbin,share,var} "${WK_PATH}/usr/local"/ # Fonts echo "Installing Fonts..."