diff options
Diffstat (limited to 'source/a/pkgtools/scripts/makepkg')
-rw-r--r-- | source/a/pkgtools/scripts/makepkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/a/pkgtools/scripts/makepkg b/source/a/pkgtools/scripts/makepkg index 9030d1f5..e8e1f068 100644 --- a/source/a/pkgtools/scripts/makepkg +++ b/source/a/pkgtools/scripts/makepkg @@ -298,8 +298,8 @@ echo echo "Searching for symbolic links:" # Get rid of possible pre-existing trouble: INST=$(mktemp $TMP/makepkg.XXXXXX) -# Escape some characters in symlink names. Current escape list is (space at the end): ;!#$\&*<> -find . -type l -printf "%p\t%l\n" | LC_COLLATE=C sort | sed 's,^\./,, ; s,\([;!#$\&*<> ]\),\\\1,g' | tee $INST +# Escape some characters in symlink names: +find . -type l -printf "%p\t%l\n" | LC_COLLATE=C sort | sed 's,^\./,,; s,[ "#$&\x27()*;<>?[\\`{|~],\\&,g;' | tee $INST if [ ! "$(cat $INST)" = "" ]; then echo echo "Making symbolic link creation script:" |