git.iko.soy/typeable/servant
on master help sign in
Fix DIR issues
c11012dJulian K. Arni
scripts/lib/common.sh+1−1
@@ -10,7 +10,7 @@
10#===============================================================================
10#===============================================================================
11
11
12
12
13−DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
13+DIR=$( dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))
14DRY_RUN=false
14DRY_RUN=false
15POSITION="none"
15POSITION="none"
16SOURCES_TXT="$( dirname $DIR)/sources.txt"
16SOURCES_TXT="$( dirname $DIR)/sources.txt"
scripts/start-sandbox.sh+2−1
@@ -13,7 +13,8 @@
13set -o nounset
13set -o nounset
14set -o errexit
14set -o errexit
15
15
16+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
16−. lib/common.sh
17+. "$DIR"/lib/common.sh
17
18
18prepare_sandbox () {
19prepare_sandbox () {
19 $CABAL sandbox init
20 $CABAL sandbox init
scripts/test-all.sh+4−1
@@ -14,7 +14,10 @@
14set -o nounset
14set -o nounset
15set -o errexit
15set -o errexit
16
16
17+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
17−. lib/common.sh
18+. "$DIR"/lib/common.sh
19+
20+GHC_FLAGS="-Werror"
18
21
19prepare_sandbox () {
22prepare_sandbox () {
20 $CABAL sandbox init
23 $CABAL sandbox init
scripts/update-defaults-nix.sh+2−1
@@ -11,7 +11,8 @@
11set -o nounset
11set -o nounset
12set -o errexit
12set -o errexit
13
13
14+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
14−. lib/common.sh
15+. "$DIR"/lib/common.sh
15
16
16for s in ${SOURCES[@]} ; do
17for s in ${SOURCES[@]} ; do
17 echo $s
18 echo $s
scripts/upload.sh+2−1
@@ -15,7 +15,8 @@
15set -o nounset
15set -o nounset
16set -o errexit
16set -o errexit
17
17
18+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
18−. lib/common.sh
19+. "$DIR"/lib/common.sh
19
20
20usage () {
21usage () {
21 echo " upload.sh <USER> <PASSWORD>"
22 echo " upload.sh <USER> <PASSWORD>"