Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Apr 04, 2012
lucaluse Force path lookup on readlink 1bac1cc
@Daenyth Merge pull request #44 from lucaluse/master
readlink move - Fix for FS#29128
3e8f550
Showing with 1 addition and 1 deletion.
  1. +1 −1 other/pkgfile-hook.sh
View
2 other/pkgfile-hook.sh
@@ -7,7 +7,7 @@ CMD_SEARCH_ENABLED=0
# (trick adapted from /etc/profile)
if [ $CMD_SEARCH_ENABLED -eq 1 ]; then
if [ -f /proc/mounts ]; then
- case $(/bin/readlink /proc/$$/exe) in
+ case $(readlink /proc/$$/exe) in
/bin/bash) [ -f /usr/share/pkgtools/pkgfile-hook.bash ] && . /usr/share/pkgtools/pkgfile-hook.bash ;;
/bin/zsh) [ -f /usr/share/pkgtools/pkgfile-hook.zsh ] && . /usr/share/pkgtools/pkgfile-hook.zsh ;;
esac

No commit comments for this range

Something went wrong with that request. Please try again.