Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bare script commands #426

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/play_vk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trap 'kill -s KILL $PID' TERM INT
# by the 'trap' instruction above

# SoX play utility syntax
play -q $1 2> /dev/null &
$(which play) -q $1 2> /dev/null &
PID=$!
wait $PID

Expand Down
6 changes: 3 additions & 3 deletions scripts/soundlog
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ trap 'kill -s INT $PID' TERM USR1
while [ -f $HOME/.VRlock ]
do
# store recorded files in actual directory
filename=`eval date +%d%H%M`".au"
filename=$(eval date +%d%H%M)".au"
if test -f $filename
then
sleep 10
else
# Example command for OSS rec
# rec -w -r 8000 $filename > /dev/null 2> /dev/null
# $(which rec) -w -r 8000 $filename > /dev/null 2> /dev/null

# Example command for SoX rec
rec -c 1 -r 8000 -q $filename &
$(which rec) -c 1 -r 8000 -q $filename &
PID=$!
wait $PID
fi
Expand Down
2 changes: 1 addition & 1 deletion tlf.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ shown):
.
.P
.EX
/usr/bin/pkill \-f rec
/usr/bin/pkill \-f $(which rec)
.EE
.
.P
Expand Down