Blame SOURCES/setup-2.12.2-use-full-path-for-non-builtins.patch

ae5207
diff --git a/bashrc b/bashrc
ae5207
index ddc4699..d19a7c1 100644
ae5207
--- a/bashrc
ae5207
+++ b/bashrc
ae5207
@@ -71,7 +71,7 @@ if [ -z "$BASHRCSOURCED" ]; then
ae5207
     # Current threshold for system reserved uid/gids is 200
ae5207
     # You could check uidgid reservation validity in
ae5207
     # /usr/share/doc/setup-*/uidgid file
ae5207
-    if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then
ae5207
+    if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
ae5207
        umask 002
ae5207
     else
ae5207
        umask 022
ae5207
diff --git a/csh.cshrc b/csh.cshrc
ae5207
index d6fae9d..b83d5da 100644
ae5207
--- a/csh.cshrc
ae5207
+++ b/csh.cshrc
ae5207
@@ -7,7 +7,7 @@
ae5207
 # Current threshold for system reserved uid/gids is 200
ae5207
 # You could check uidgid reservation validity in
ae5207
 # /usr/share/doc/setup-*/uidgid file
ae5207
-if ($uid > 199 && "`id -gn`" == "`id -un`") then
ae5207
+if ($uid > 199 && "`/usr/bin/id -gn`" == "`/usr/bin/id -un`") then
ae5207
     umask 002
ae5207
 else
ae5207
     umask 022
ae5207
@@ -20,7 +20,7 @@ if ($?prompt) then
ae5207
     # make completion work better by default
ae5207
     set autolist
ae5207
   else
ae5207
-    set prompt=\[$user@`hostname -s`\]\$\ 
ae5207
+    set prompt=\[$user@`/usr/bin/hostname -s`\]\$\ 
ae5207
   endif
ae5207
 endif
ae5207
 
ae5207
diff --git a/lang.csh b/lang.csh
ae5207
index 695c1bc..94c4625 100644
ae5207
--- a/lang.csh
ae5207
+++ b/lang.csh
ae5207
@@ -8,7 +8,7 @@ endif
ae5207
 foreach config (/etc/locale.conf "${HOME}/.i18n")
ae5207
     if (-f "${config}") then
ae5207
         # NOTE: We are using eval & sed here to avoid invoking of any commands & functions from those files.
ae5207
-        eval `sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/setenv \1 \2;/;t;d' ${config}`
ae5207
+        eval `/usr/bin/sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/setenv \1 \2;/;t;d' ${config}`
ae5207
     endif
ae5207
 end
ae5207
 
ae5207
@@ -32,11 +32,11 @@ if (${?LC_ALL}) then
ae5207
 endif
ae5207
 
ae5207
 # The ${LANG} manipulation is necessary only in virtual terminal (a.k.a. console - /dev/tty*):
ae5207
-set in_console=`tty | grep -vc -e '/dev/tty'`
ae5207
+set in_console=`/usr/bin/tty | /usr/bin/grep -vc -e '/dev/tty'`
ae5207
 
ae5207
 if (${?LANG} && ${?TERM}) then
ae5207
     if (${TERM} == 'linux' && $in_console == 0) then
ae5207
-        set utf8_used=`echo ${LANG} | grep -vc -E -i -e '^.+\.utf-?8$'`
ae5207
+        set utf8_used=`echo ${LANG} | /usr/bin/grep -vc -E -i -e '^.+\.utf-?8$'`
ae5207
 
ae5207
         if (${utf8_used} == 0) then
ae5207
             switch (${LANG})
ae5207
diff --git a/lang.sh b/lang.sh
ae5207
index 0252b0f..c9022d0 100644
ae5207
--- a/lang.sh
ae5207
+++ b/lang.sh
ae5207
@@ -8,7 +8,7 @@ fi
ae5207
 for config in /etc/locale.conf "${HOME}/.i18n"; do
ae5207
     # NOTE: We are using eval & sed here to avoid invoking of any commands & functions from those files.
ae5207
     if [ -f "${config}" ]; then
ae5207
-        eval $(sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/export \1=\2/;t;d' ${config})
ae5207
+        eval $(/usr/bin/sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/export \1=\2/;t;d' ${config})
ae5207
     fi
ae5207
 done
ae5207
 
ae5207
@@ -32,8 +32,8 @@ if [ -n "${LC_ALL}" ]; then
ae5207
 fi
ae5207
 
ae5207
 # The ${LANG} manipulation is necessary only in virtual terminal (a.k.a. console - /dev/tty*):
ae5207
-if [ -n "${LANG}" ] && [ "${TERM}" = 'linux' ] && tty | grep --quiet -e '/dev/tty'; then
ae5207
-    if grep --quiet -E -i -e '^.+\.utf-?8$' <<< "${LANG}"; then
ae5207
+if [ -n "${LANG}" ] && [ "${TERM}" = 'linux' ] && /usr/bin/tty | /usr/bin/grep --quiet -e '/dev/tty'; then
ae5207
+    if /usr/bin/grep --quiet -E -i -e '^.+\.utf-?8$' <<< "${LANG}"; then
ae5207
         case ${LANG} in
ae5207
             ja*)    LANG=en_US.UTF-8 ;;
ae5207
             ko*)    LANG=en_US.UTF-8 ;;
ae5207
diff --git a/profile b/profile
ae5207
index 1feb987..16b2e69 100644
ae5207
--- a/profile
ae5207
+++ b/profile
ae5207
@@ -25,10 +25,10 @@ pathmunge () {
ae5207
 if [ -x /usr/bin/id ]; then
ae5207
     if [ -z "$EUID" ]; then
ae5207
         # ksh workaround
ae5207
-        EUID=`id -u`
ae5207
-        UID=`id -ru`
ae5207
+        EUID=`/usr/bin/id -u`
ae5207
+        UID=`/usr/bin/id -ru`
ae5207
     fi
ae5207
-    USER="`id -un`"
ae5207
+    USER="`/usr/bin/id -un`"
ae5207
     LOGNAME=$USER
ae5207
     MAIL="/var/spool/mail/$USER"
ae5207
 fi
ae5207
@@ -56,7 +56,7 @@ export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
ae5207
 # Current threshold for system reserved uid/gids is 200
ae5207
 # You could check uidgid reservation validity in
ae5207
 # /usr/share/doc/setup-*/uidgid file
ae5207
-if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then
ae5207
+if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
ae5207
     umask 002
ae5207
 else
ae5207
     umask 022