From 8c349a38d121683c7ca2eccd3ba57e41ddcf299d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 1 Jun 2018 16:06:07 -0400 Subject: [PATCH] dropping unused link maker, renaming replacer --- .../{replace_wine_links.sh => remake_wine_links.sh} | 0 scripts/wine/wine_link_maker.sh | 13 ------------- 2 files changed, 13 deletions(-) rename scripts/wine/{replace_wine_links.sh => remake_wine_links.sh} (100%) delete mode 100644 scripts/wine/wine_link_maker.sh diff --git a/scripts/wine/replace_wine_links.sh b/scripts/wine/remake_wine_links.sh similarity index 100% rename from scripts/wine/replace_wine_links.sh rename to scripts/wine/remake_wine_links.sh diff --git a/scripts/wine/wine_link_maker.sh b/scripts/wine/wine_link_maker.sh deleted file mode 100644 index 743964e3..00000000 --- a/scripts/wine/wine_link_maker.sh +++ /dev/null @@ -1,13 +0,0 @@ - - -# find all the directories at this height. -find . -mindepth 1 -maxdepth 1 -type d -exec echo {} ';' >$TMP/filestolink.txt -# make links with all lower case and all upper case versions of the names. -while read line; do - ln -s "$line" "$(echo $line | tr '[:upper:]' '[:lower:]')" - ln -s "$line" "$(echo $line | tr '[:lower:]' '[:upper:]')" -done < $TMP/filestolink.txt -# remove dead links. -\rm $(find . -type l ! -exec test -e {} \; -print) - - -- 2.34.1