Merge pull request #935 from RBGKew/fix-build-file
Change refine shell script to run with Bash
This commit is contained in:
commit
a663fc626e
8
refine
8
refine
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# OpenRefine Control System #
|
# OpenRefine Control System #
|
||||||
@ -15,12 +15,12 @@ exit 1
|
|||||||
}
|
}
|
||||||
|
|
||||||
error() {
|
error() {
|
||||||
echo "$1"
|
echo "Error: $1"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
warn() {
|
warn() {
|
||||||
echo "$1"
|
echo "Warning: $1"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -633,8 +633,6 @@ ui_test() {
|
|||||||
|
|
||||||
server_test() {
|
server_test() {
|
||||||
ant server_test
|
ant server_test
|
||||||
|
|
||||||
$RUN_CMD || error "Failed passing server tests"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
run() {
|
run() {
|
||||||
|
Loading…
Reference in New Issue
Block a user