From 231f3f39b4199b3c1f69858d5180bfeef02e0219 Mon Sep 17 00:00:00 2001 From: Emuis <emuis@tfwno.gf> Date: Fri, 19 Jan 2018 04:13:52 -0500 Subject: [PATCH] BuildAndIPFSify.sh: IPFS doesn't like spaces in it's hashes --- devTools/BuildAndIPFSify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devTools/BuildAndIPFSify.sh b/devTools/BuildAndIPFSify.sh index 1c2919cfb71..09a3be7d79f 100755 --- a/devTools/BuildAndIPFSify.sh +++ b/devTools/BuildAndIPFSify.sh @@ -22,7 +22,7 @@ fi # If we've done this before then unpin the previous hash so IPFS can GC it if it needs to if [ -r ../IPFS_hash.txt ]; then - ipfs pin rm --recursive=true "$(cut -d : -f 2 ../IPFS_hash.txt)" + ipfs pin rm --recursive=true "$(cut -d : -f 2 ../IPFS_hash.txt | tr -d ' ')" fi ./compile || exit 1 -- GitLab