Skip to content

Commit 384fadc

Browse files
committed
Undo variable substitution that got into ".in"
1 parent 8554646 commit 384fadc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/unit/test-cmd-info-variables.sh.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ test_cmd_info_variables()
3232
# FIXME try -x -i, and no options. try invalid opts
3333
}
3434

35-
if [ '/src/external-vcs/sourceforge/bashdb' = '' ] ; then
36-
echo "Something is wrong: abs_top_srcdir is not set."
35+
abs_top_srcdir=@abs_top_srcdir@
36+
if [ ! -d $abs_top_scrdir ] ; then
37+
>&2 echo "Something is wrong in configuation: abs_top_srcdir is not set properly."
3738
exit 1
3839
fi
39-
abs_top_srcdir=/src/external-vcs/sourceforge/bashdb
40+
4041
# Make sure $abs_top_src has a trailing slash
4142
abs_top_srcdir=${abs_top_srcdir%%/}/
4243
. ${abs_top_srcdir}test/unit/helper.sh

0 commit comments

Comments
 (0)