diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:42:28 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:42:28 +0000 |
commit | d68ec90157a963f3483c09915b1844ee43b4ac77 (patch) | |
tree | 6553f68fc4267b99784f10fb2fe03a3454505eef /bin/isolated-functions.sh | |
parent | 1b7e9bacc284926b12a4d64a288d373de8b1708f (diff) | |
download | portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2 portage-d68ec90157a963f3483c09915b1844ee43b4ac77.zip |
`` must die
svn path=/main/trunk/; revision=3155
Diffstat (limited to 'bin/isolated-functions.sh')
-rw-r--r-- | bin/isolated-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index c257a10d5..3a004a15f 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -187,7 +187,7 @@ unset_colors() { set_colors() { COLS=${COLUMNS:-0} # bash's internal COLUMNS variable - (( COLS == 0 )) && COLS=$(set -- `stty size 2>/dev/null` ; echo $2) + (( COLS == 0 )) && COLS=$(set -- $(stty size 2>/dev/null) ; echo $2) (( COLS > 0 )) || (( COLS = 80 )) COLS=$((${COLS} - 8)) # width of [ ok ] == 7 |