Pārlūkot izejas kodu

Merge pull request #27 from NoelM/bug/missing-then

Fixing bad syntax condition in SH
tags/v1.2
Nico pirms 4 gadiem
committed by GitHub
vecāks
revīzija
6e923ab420
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      receive.sh
  2. +1
    -1
      receive_meteor.sh

+ 1
- 1
receive.sh Parādīt failu

@@ -50,7 +50,7 @@ if [ -n "$CONSUMER_KEY" ]; then
fi
fi

if [ "$DELETE_AUDIO" = true ];
if [ "$DELETE_AUDIO" = true ]; then
rm "${NOAA_AUDIO}/audio/${3}.wav"
else
# Move the audio from the ram fs to the SD Card


+ 1
- 1
receive_meteor.sh Parādīt failu

@@ -38,7 +38,7 @@ sox "${METEOR_OUTPUT}/audio/${3}.wav" "${METEOR_OUTPUT}/${3}.wav" gain -n
log "Demodulation in progress (QPSK)" "INFO"
meteor_demod -B -o "${METEOR_OUTPUT}/${3}.qpsk" "${METEOR_OUTPUT}/${3}.wav"

if [ "$DELETE_AUDIO" = true ];
if [ "$DELETE_AUDIO" = true ]; then
rm "${METEOR_OUTPUT}/audio/${3}.wav"
rm "${METEOR_OUTPUT}/${3}.wav"
fi


Notiek ielāde…
Atcelt
Saglabāt