Skip to content

Commit e1f2ba1

Browse files
committed
ln: More helpful error message when trying to hard link to a directory
1 parent 2b8e67b commit e1f2ba1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

util/build-gnu.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,6 @@ sed -i -e "s/cat opts/sed -i -e \"s| <.\*$||g\" opts/" tests/misc/usage_vs_getop
268268
# for some reasons, some stuff are duplicated, strip that
269269
sed -i -e "s/provoked error./provoked error\ncat pat |sort -u > pat/" tests/misc/usage_vs_getopt.sh
270270

271-
# Update the GNU error message to match ours
272-
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
273-
274271
# install verbose messages shows ginstall as command
275272
sed -i -e "s/ginstall: creating directory/install: creating directory/g" tests/install/basic-1.sh
276273

0 commit comments

Comments
 (0)