Use printf instead of "echo -e" in pairinghelper.sh

- should work across platforms
This commit is contained in:
ejurgensen 2015-02-27 23:01:15 +01:00
parent 5cea89a8d4
commit 044d25dbf1

View File

@ -56,7 +56,7 @@ if [ -z "$pin" ]; then
fi
echo "Writing pair.remote to $library_path..."
echo "$remote\n$pin" > "$library_path/pair.remote"
printf "$remote\n$pin" > "$library_path/pair.remote"
sleep 1
echo "Removing pair.remote from library again..."
rm "$library_path/pair.remote"