Skip to content

Commit

Permalink
escape {} into '' for non-standard filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn authored Oct 29, 2024
1 parent 445f62b commit 673d769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archiver/checks/default_preparation_checks.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ precondition=find --version | grep 'GNU findutils'
precondition_failure_msg=Requires GNU find. On mac, you can install it using 'brew install findutils'
# for every link, resolve path relative to archive dir, if not within archive dir, print absolute
# note, that the second -exec will only be executed if the previous exec was successful
check_cmd=find . -type l ! -xtype l -exec sh -c "realpath --relative-base . {} | grep --quiet '^/' " \; -exec echo {} \;
check_cmd=find . -type l ! -xtype l -exec sh -c "realpath --relative-base . '{}' | grep --quiet '^/' " \; -exec echo {} \;
success_conditions=EMPTY_OUTPUT
check_failure_msg=Found symlinks pointing outside the directory tree of {WDIR}. Archives may not be complete.

Expand Down

0 comments on commit 673d769

Please sign in to comment.