diff options
Diffstat (limited to 'bin/ak-repositories')
-rwxr-xr-x | bin/ak-repositories | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/ak-repositories b/bin/ak-repositories index 7d3bf5a..132d758 100755 --- a/bin/ak-repositories +++ b/bin/ak-repositories @@ -106,13 +106,8 @@ add(){ if [ $? == 0 ] then ak-ipfs-name-publish --key="$PROJECT.git" /ipfs/$IPFS - cat > data <<EOF -{ - "project":"$PROJECT.git", - "ipns":"$try" -} -EOF - ak-pack_z_block "repos/add" data + printf '{"project":"%s.git","ipns":"%s"}' $PROJECT $try > data + ak-pack_z_block "repos/add" $PWD/data echo "Done" fi fi |