From 044d25dbf1e597ee061f19bb35d32f486ce7f078 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Fri, 27 Feb 2015 23:01:15 +0100 Subject: [PATCH] Use printf instead of "echo -e" in pairinghelper.sh - should work across platforms --- scripts/pairinghelper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pairinghelper.sh b/scripts/pairinghelper.sh index a3103cd6..2033a159 100755 --- a/scripts/pairinghelper.sh +++ b/scripts/pairinghelper.sh @@ -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"