File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ exec 3>"$pinset_file"
4242# remove temp file after this script ends
4343trap " rm -f $pinset_file " 0 2 3 15
4444
45- ipfs-cluster-ctl " $@ " pin ls >&3
45+ ipfs-cluster-ctl $@ pin ls >&3
4646
4747for s in $websites ; do
4848 oldcids=$( grep " | $s |" $pinset_file | cut -d ' ' -f 1)
@@ -55,12 +55,12 @@ for s in $websites; do
5555 echo " already pinned in latest version: $s "
5656 else
5757 echo " pinning: $s "
58- ipfs-cluster-ctl " $@ " pin add --no-status --name " $s " " $newcid "
58+ ipfs-cluster-ctl $@ pin add --no-status --name " $s " " $newcid "
5959 pinned=yes
6060 fi
6161 if [[ -n " $oldcid " && (" $newcid " ! = " $oldcid " ) ]]; then
6262 echo " unpinning old version: $oldcid "
63- ipfs-cluster-ctl " $@ " pin rm --no-status " $oldcid "
63+ ipfs-cluster-ctl $@ pin rm --no-status " $oldcid "
6464 fi
6565 done
6666done
You can’t perform that action at this time.
0 commit comments