This commit is contained in:
tlimoncelli@stackexchange.com
2014-10-14 14:26:24 +00:00
parent 225909cdf3
commit 8a180325c1

View File

@@ -47,6 +47,8 @@ else
COMMIT_FILES="$BB_FILES $encrypted_file" COMMIT_FILES="$BB_FILES $encrypted_file"
fi fi
# TODO(tlim): This should be moved to _blackbox_common.sh in a
# VCS-independent way.
IGNOREFILE=".${VCS_TYPE}ignore" IGNOREFILE=".${VCS_TYPE}ignore"
if [[ $VCS_TYPE = 'git' ]]; then if [[ $VCS_TYPE = 'git' ]]; then
ignored_file="$(echo "$unencrypted_file" | sed 's/^\([!#]\)/\\\1/')" ignored_file="$(echo "$unencrypted_file" | sed 's/^\([!#]\)/\\\1/')"