From 63744307feb91bae9206851113d08c64d6c7e413 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jul 2023 20:56:15 +0300 Subject: Renamed ZLATEST to AK_ZLATEST --- bin/ak-zchain-rebase | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ak-zchain-rebase') diff --git a/bin/ak-zchain-rebase b/bin/ak-zchain-rebase index 4c7895a..d604bb2 100755 --- a/bin/ak-zchain-rebase +++ b/bin/ak-zchain-rebase @@ -16,7 +16,7 @@ usage(){ rebase (){ ZTARGET="$1" echo "Reseting ZLATEST to ZTARGET" - echo $ZTARGET > $ZLATEST + echo $ZTARGET > $AK_ZLATEST if [ $? != 0 ]; then exit 1; fi echo "Make sure /zarchive folder exists within IPFS FS" @@ -32,12 +32,12 @@ rebase (){ if [ $? != 0 ]; then exit 1; fi echo "Copying rebased ZLATEST" - CZLATEST="$(cat $ZLATEST)" + CZLATEST="$(cat $AK_ZLATEST)" ak-ipfs-files-cp /ipfs/$CZLATEST /zlatest if [ $? != 0 ]; then exit 1; fi echo "Publishing new (rebased) ZLATEST" - ak-ipfs-name-publish --key=zchain /ipfs/$(cat $ZLATEST) + ak-ipfs-name-publish --key=zchain /ipfs/$(cat $AK_ZLATEST) if [ $? != 0 ]; then exit 1; fi echo "Rebase was successful" -- cgit v1.2.3