various fixes
[distro-setup] / brc
diff --git a/brc b/brc
index f003263c7e37a8a187def9b2a3994003c39e9394..99c4e819fd09ac6d396ce6640f5f7961800b7064 100644 (file)
--- a/brc
+++ b/brc
@@ -196,7 +196,7 @@ path_add /a/exe
 path_add --end ~/.local/bin
 path_add --ifexists --end /a/work/libremanage
 path_add --ifexists --end /a/opt/adt-bundle*/tools /a/opt/adt-bundle*/platform-tools
-path_add --ifexists --end /a/opt/scancode-toolkit-2.9.2
+path_add --ifexists --end /a/opt/scancode-toolkit-3.0.2
 export WCDHOME=/a
 # based on readme.debian. dunno if this will break on other distros.
 _x=/usr/share/wcd/wcd-include.sh
@@ -642,9 +642,9 @@ fa() {
 }
 
 faf() { # find all files
-  find -L $1 -type f -not \( -name .svn -prune -o -name .git -prune \
+  find -L $1 -not \( -name .svn -prune -o -name .git -prune \
        -o -name .hg -prune -o -name .editor-backups -prune \
-       -o -name .undo-tree-history -prune \) 2>/dev/null
+       -o -name .undo-tree-history -prune \)  -type f 2>/dev/null
 }
 
 # one that comes with distros is too old for newer devices
@@ -1091,6 +1091,8 @@ ifn() {
        -o -name .hg -prune -o -name .editor-backups -prune \
        -o -name .undo-tree-history -prune \) -iname "*$**" 2>/dev/null
 }
+ifnl() {
+}
 
 
 if [[ $OS == Windows_NT ]]; then