Hi, I attached a patch that removes two bashisms from the file scripts/soundlog. Regards, Reiner
diff --git a/debian/patches/soundlog.patch b/debian/patches/soundlog.patch index 03d9b90..44b93f0 100644 --- a/debian/patches/soundlog.patch +++ b/debian/patches/soundlog.patch @@ -3,6 +3,7 @@ Author: John AC6SL <jnogatch@gmail.com> Changed /home/rein to $HOME in 2 places. Removed -d /dev/dsp1 in favor of default + Remove bashism (Closes: #772385) . --- @@ -13,13 +14,14 @@ Author: John AC6SL <jnogatch@gmail.com> #!/bin/sh -while [[ -f /home/rein/.VRlock ]] -+while [[ -f $HOME/.VRlock ]] ++while [ -f $HOME/.VRlock ] do - filename="/home/rein/tlf/soundlogs/"`eval date +%d%H%M`".au" + filename="$HOME/tlf/soundlogs/"`eval date +%d%H%M`".au" if test -f $filename then - sleep 10s +- sleep 10s ++ sleep 10 else - rec -w -r 8000 -d /dev/dsp1 $filename > /dev/null 2> /dev/null + rec -w -r 8000 $filename > /dev/null 2> /dev/null
Attachment:
signature.asc
Description: OpenPGP digital signature