mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
ln: More helpful error message when trying to hard link to a directory
This commit is contained in:
parent
2b8e67bee2
commit
e1f2ba1c18
1 changed files with 0 additions and 3 deletions
|
|
@ -268,9 +268,6 @@ sed -i -e "s/cat opts/sed -i -e \"s| <.\*$||g\" opts/" tests/misc/usage_vs_getop
|
|||
# for some reasons, some stuff are duplicated, strip that
|
||||
sed -i -e "s/provoked error./provoked error\ncat pat |sort -u > pat/" tests/misc/usage_vs_getopt.sh
|
||||
|
||||
# Update the GNU error message to match ours
|
||||
sed -i -e "s/link-to-dir: hard link not allowed for directory/failed to create hard link 'link-to-dir' =>/" -e "s|link-to-dir/: hard link not allowed for directory|failed to create hard link 'link-to-dir/' =>|" tests/ln/hard-to-sym.sh
|
||||
|
||||
# install verbose messages shows ginstall as command
|
||||
sed -i -e "s/ginstall: creating directory/install: creating directory/g" tests/install/basic-1.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue