Changed shell to sh

pull/444/head
Luca 2 years ago committed by GitHub
parent a552ba54ac
commit 43b07c44eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      getsysex.sh

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# Get voices from # Get voices from
# https://yamahablackboxes.com/collection/yamaha-dx7-synthesizer/patches/ # https://yamahablackboxes.com/collection/yamaha-dx7-synthesizer/patches/
@ -82,5 +82,10 @@ do
done done
# Download the user bank # Download the user bank
echo "Downloading https://github.com/donluca/MiniDexed/raw/getsysex.sh/userBank.syx ..."
printf -v j "%05d" $count printf -v j "%05d" $count
curl -o "${TARGET_DIR}${j}_userBank.syx" ${CURL_OPTIONS} https://github.com/donluca/MiniDexed/raw/getsysex.sh/userBank.syx > /dev/null 2>&1 curl -o "${TARGET_DIR}${j}_userBank.syx" ${CURL_OPTIONS} https://github.com/donluca/MiniDexed/raw/getsysex.sh/userBank.syx > /dev/null 2>&1
if (( $? > 0 ))
then
echo "Download failed"
fi

Loading…
Cancel
Save