From 546d89a985ece7dcf4c4080383287635efe6e131 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 14 Mar 2015 13:10:43 -0400 Subject: [PATCH] keeping symlinks as links, since otherwise we cannot use this handy script to backup things like a wine prefix to collect a game's latest state. this does mean we no longer copy the actual data of the symlink, but that has been shown many times to be a bad thing anyway... --- scripts/files/zip_directories.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/files/zip_directories.sh b/scripts/files/zip_directories.sh index 5a603b4d..fce35b43 100644 --- a/scripts/files/zip_directories.sh +++ b/scripts/files/zip_directories.sh @@ -31,7 +31,7 @@ function flattenizer() done if [ ! -z "$dirname" -a -d "$dirname" ]; then echo "flattening '$dirname'..." - zip -rm "${dirname}_$(date_stringer).zip" "$dirname" &>/dev/null + zip --symlinks -rm "${dirname}_$(date_stringer).zip" "$dirname" &>/dev/null fi done } -- 2.34.1