changeset 19752 | 935eac795255 |
parent 16658 | e276f5dfe4b6 |
child 21171 | 5f450c98c6fb |
child 20631 | 6f71614260ea |
--- a/common/bin/hgforest.sh Thu Aug 29 16:04:14 2013 -0700 +++ b/common/bin/hgforest.sh Tue Sep 03 15:23:16 2013 -0700 @@ -47,7 +47,7 @@ bpython="" if [ "#!" = "$has_hash_bang" ] ; then - python="`head -n 1 ${whichhg} | cut -b 3-`" + python="`head -n 1 ${whichhg} | cut -b 3- | sed -e 's/^[ \t]*//;s/[ \t]*$//'`" bpython="`basename "$python"`" fi