Skip to content

Commit 8dbff6e

Browse files
committed
Silence error messages of cd to non-existent opt directories
1 parent a82e713 commit 8dbff6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ AS_IF([test "x$OPT_DIR" != x], [
10061006
save_IFS="$IFS" IFS="$PATH_SEPARATOR" val= PWD=
10071007
for dir in $OPT_DIR; do
10081008
test -z "$dir" && continue
1009-
dir=`eval $CHDIR '"$dir"' && pwd` || continue
1009+
dir=`eval $CHDIR '"$dir"' 2>/dev/null && pwd` || continue
10101010
val="${val:+$val$PATH_SEPARATOR}$dir"
10111011
done
10121012
IFS="$save_IFS" OPT_DIR="$val"

0 commit comments

Comments
 (0)