Skip to content
Snippets Groups Projects
Commit 2c1afbdd authored by tpylak's avatar tpylak
Browse files

minor: correct script to generate next db version

SVN: 19050
parent dad2eae3
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
SQL_DIR=../../source/sql/
PREV_NUM=`ls -1 $SQL_DIR/postgresql | grep 0 | sort | tail -n 1 | sed /0/s///`
PREV_NUM=`ls -1 $SQL_DIR/postgresql | grep 0 | sort | tail -n 1 | sed s/^0*//g`
PREV_VER=`printf "%03d" $PREV_NUM`
CUR_VER=`printf "%03d" $(( $PREV_NUM+1 ))`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment