]> Zhao Yanbai Git Server - minix.git/commitdiff
set $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found
authorBen Gras <ben@minix3.org>
Thu, 17 Aug 2006 14:03:06 +0000 (14:03 +0000)
committerBen Gras <ben@minix3.org>
Thu, 17 Aug 2006 14:03:06 +0000 (14:03 +0000)
which has unexpected return codes compared to minix grep.

commands/scripts/binsizes.sh

index 849e001a4e13d4422dbb288767d2a2bd3a85d4c4..4fd303ac82474f58c7a8d59207468f569461132c 100644 (file)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+PATH=/bin:/sbin:/usr/bin:/usr/sbin
+
 t=/etc/binary_sizes
 
 if [ "$#" -ne 1 ]