diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-07-30 20:56:15 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-07-30 20:56:15 +0300 |
commit | 63744307feb91bae9206851113d08c64d6c7e413 (patch) | |
tree | 915eacbdbaf7808f9da873c87010648070e8edb0 /bin | |
parent | b86dc0b6438709b9138cd8750fe47dcb5189a80b (diff) | |
download | arching-kaos-tools-63744307feb91bae9206851113d08c64d6c7e413.tar.gz arching-kaos-tools-63744307feb91bae9206851113d08c64d6c7e413.tar.bz2 arching-kaos-tools-63744307feb91bae9206851113d08c64d6c7e413.zip |
Renamed ZLATEST to AK_ZLATEST
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak-zchain-rebase | 6 |
1 files changed, 3 insertions, 3 deletions
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" |