diff --git a/devTools/BuildAndIPFSify.sh b/devTools/BuildAndIPFSify.sh
index 1c2919cfb7141f6ca3c37fb351fa3758743c6cb5..09a3be7d79f6e65cbfad3d3c8f6c887873e694f9 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