File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
if [ ! -f " autogen.sh" ]; then
4
4
/bin/echo " ERROR: Run this from the singularity source root"
@@ -16,19 +16,19 @@ TEMPDIR=`mktemp -d /tmp/singularity-test.XXXXXX`
16
16
SINGULARITY_CACHEDIR=" $TEMPDIR "
17
17
export SINGULARITY_CACHEDIR MESSAGELEVEL
18
18
19
- . ./libexec/functions
20
-
21
19
22
- /bin/echo " ${BLUE} Gaining/checking sudo access...${NORMAL} "
20
+ /bin/echo " Gaining/checking sudo access..."
23
21
sudo true
24
22
25
23
if [ -z " $CLEAN_SHELL " ]; then
26
- /bin/echo " ${BLUE} Building/Installing Singularity to temporary directory${NORMAL} "
24
+ /bin/echo " Building/Installing Singularity to temporary directory"
27
25
/bin/echo " Reinvoking in a clean shell"
28
26
sleep 1
29
27
exec env -i CLEAN_SHELL=1 PATH=" /bin:/usr/bin:/sbin:/usr/sbin" bash " $0 " " $* "
30
28
fi
31
29
30
+ . ./libexec/functions
31
+
32
32
make clean > /dev/null 2>&1
33
33
stest 0 sh ./autogen.sh --prefix=" $TEMPDIR "
34
34
stest 0 make
You can’t perform that action at this time.
0 commit comments