Mercurial > repo
changeset 2568:ab26ba5c759f
<oerjan> sed -i \'1s/sh/bash/\' bin/ls
author | HackBot |
---|---|
date | Sun, 31 Mar 2013 20:09:04 +0000 |
parents | 4f8e28a0539a |
children | 9538b55e8fbc |
files | bin/ls |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/ls Sun Mar 31 20:07:43 2013 +0000 +++ b/bin/ls Sun Mar 31 20:09:04 2013 +0000 @@ -1,2 +1,2 @@ -#!/bin/sh +#!/bin/bash if /bin/ls -id "$@" 2>/dev/null | grep -q ^752129 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; else exec -a ls /bin/ls "$@"; fi