Skip to content

Commit 9321074

Browse files
committed
Fixes for Debian/*ubuntu
1 parent fdbe63a commit 9321074

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
if [ ! -f "autogen.sh" ]; then
44
/bin/echo "ERROR: Run this from the singularity source root"
@@ -16,19 +16,19 @@ TEMPDIR=`mktemp -d /tmp/singularity-test.XXXXXX`
1616
SINGULARITY_CACHEDIR="$TEMPDIR"
1717
export SINGULARITY_CACHEDIR MESSAGELEVEL
1818

19-
. ./libexec/functions
20-
2119

22-
/bin/echo "${BLUE}Gaining/checking sudo access...${NORMAL}"
20+
/bin/echo "Gaining/checking sudo access..."
2321
sudo true
2422

2523
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"
2725
/bin/echo "Reinvoking in a clean shell"
2826
sleep 1
2927
exec env -i CLEAN_SHELL=1 PATH="/bin:/usr/bin:/sbin:/usr/sbin" bash "$0" "$*"
3028
fi
3129

30+
. ./libexec/functions
31+
3232
make clean >/dev/null 2>&1
3333
stest 0 sh ./autogen.sh --prefix="$TEMPDIR"
3434
stest 0 make

0 commit comments

Comments
 (0)