X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=common.ent;h=c38e7d53e8c6b3c4f71da347ecffbd15b64b162a;hb=3655759aa4aa898ab5761e83be37aef2ca29a3d0;hp=341e8753e17d98a8923cdc777782defe35b20ac8;hpb=aeafeec51bfabb21f4f5066d3b1e26d413bcfcf4;p=developers-reference.git diff --git a/common.ent b/common.ent index 341e875..c38e7d5 100644 --- a/common.ent +++ b/common.ent @@ -40,7 +40,7 @@ - + @@ -53,9 +53,10 @@ - - + + + @@ -65,6 +66,7 @@ + @@ -104,6 +106,7 @@ + /usr/share/doc/debian/mailing-lists.txt"> -/usr/share/doc/debian/bug-log-mailserver.txt"> -/usr/share/doc/debian/bug-maint-info.txt"> /usr/share/doc/debian/bug-*"> /usr/share/doc/python/python-policy.txt.gz"> /usr/share/doc/ocaml/ocaml_packaging_policy.gz"> @@ -240,3 +241,16 @@ pool/non-free/n/ pool/non-free/n/netscape/ ... "> + +pathfind() { + OLDIFS="$IFS" + IFS=: + for p in $PATH; do + if [ -x "$p/$*" ]; then + IFS="$OLDIFS" + return 0 + fi + done + IFS="$OLDIFS" + return 1 +}'>