Commit eab30986 authored by James Coyle's avatar James Coyle

Updated extracted dir path

parent 080c1d19
Pipeline #1449 failed with stages
......@@ -18,8 +18,8 @@ function extractRoach {
tar -xzf $TMP_DL -C $TMP || exit 1
}
function setInstallDirs {
mv $TMP/cockroach-latest*/cockroach $APP_DIR/cockroach || exit 1
rm -rf $TMP/cockroach-latest*
mv $TMP/cockroach-*/cockroach $APP_DIR/cockroach || exit 1
rm -rf $TMP/cockroach-*
}
service cockroach stop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment