aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-07-30 20:56:15 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-07-30 20:56:15 +0300
commit63744307feb91bae9206851113d08c64d6c7e413 (patch)
tree915eacbdbaf7808f9da873c87010648070e8edb0 /bin
parentb86dc0b6438709b9138cd8750fe47dcb5189a80b (diff)
downloadarching-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-xbin/ak-zchain-rebase6
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"