Revision 0d33a1305a53ebb3d80c533198505ab930f88b4a authored by tglman on 21 February 2024, 13:28:49 UTC, committed by GitHub on 21 February 2024, 13:28:49 UTC
2 parent s 01b8d0f + d5098d5
Raw File
cd.sh
#!/bin/bash

export VER=`grep "<version>" pom.xml | head -n 1|awk -F "[<>]" '{print $3}'`

if [ -z "$VER" ]
then
    echo "ERROR: CANNOT FIND CURRENT ORIENTDB RELEASE!"
    exit
fi

echo "Switching to the fresh built OrientDB $VER"

DIR=distribution/target/orientdb-community-$VER.dir/orientdb-community-$VER/

cd $DIR
back to top