Package: byobu
Severity: serious
Version: 5.87-1
User: debian-rele...@lists.debian.org
Usertags: goal-dash

Hi,

I've ran checkbashisms (from the 'devscripts' package) over the whole
archive and I found that your package has a /bin/sh script that uses a
"bashism".

checkbashisms' output:
> possible bashism in ./usr/bin/byobu-launch line 66 (sleep only takes one
> integer):
>                                         sleep 0.1
> possible bashism in ./usr/bin/byobu-janitor line 122 (sourced script with
> arguments):
>                         printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && .
> $BYOBU_CONFIG_DIR/prompt   #byobu-prompt#\n" >> "$HOME/.bashrc"
> possible bashism in ./usr/bin/byobu-janitor line 126 (sourced script with
> arguments):
>                         printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && .
> $BYOBU_CONFIG_DIR/prompt   #byobu-prompt#\n" >> "$HOME/.bashrc"
> possible bashism in ./usr/bin/byobu-janitor line 130 (sourced script with
> arguments):
> [ -r "$BYOBU_CONFIG_DIR/prompt" ] || printf "[ -r
> ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc ] && .
> ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc  #byobu-prompt#\n" >
> "$BYOBU_CONFIG_DIR/prompt"
> possible bashism in ./usr/bin/byobu-enable-prompt line 31 (sourced script
> with arguments):
> printf "[ -r $prompt ] && . $prompt   #byobu-prompt#\n" >> 
"$HOME/.bashrc"
> possible bashism in ./usr/lib/byobu/hostname line 32 (sleep only takes one
> integer):
>                 sleep 0.02
> possible bashism in ./usr/lib/byobu/include/toggle-utf8 line 42 (sourced
> script with arguments):
>         tmux send-keys " export BYOBU_CHARMAP=$BYOBU_CHARMAP ; . ~/.bashrc"
> \; send-keys Enter
> possible bashism in ./usr/lib/byobu/include/shutil line 222 (sleep only
> takes one integer):
>                         sleep 0.02
> possible bashism in ./usr/lib/byobu/ip_address line 46 (sleep only takes
> one integer):
>                                 sleep 0.02
> possible bashism in ./usr/lib/byobu/ip_address line 65 (sleep only takes
> one integer):
>                                 sleep 0.02
> possible bashism in ./usr/lib/byobu/ip_address line 70 (sleep only takes
> one integer):
>                                 sleep 0.02
> possible bashism in ./usr/lib/byobu/ec2_cost line 41 (sleep only takes one
> integer):
>                 sleep 0.02
> possible bashism in ./usr/lib/byobu/ec2_cost line 45 (sleep only takes one
> integer):
>                 sleep 0.02


Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is the default /bin/sh.

Please closely examine the above output and the script, and determine
what the proper severity of the bug is, and adjust it accordingly. If
it's important or greater please hurry to get this fixed for jessie.

Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh

Thanks in advance,
Raphael Geissert


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to