Imported Upstream version 1.9.0
[platform/upstream/augeas.git] / tests / test-valgrind.sh
index c000e44..1e6898f 100755 (executable)
@@ -1,11 +1,11 @@
-#! /bin/bash
+#!/bin/sh
 
 # Run the tests in lenses/tests through valgrind and report which ones leak
 set -e
 
 TOPDIR=$(cd $(dirname $0)/.. && pwd)
-[[ -n "$top_builddir" ]] || top_builddir=$TOPDIR
-[[ -n "$top_srcdir" ]] || top_srcdir=$TOPDIR
+[ -n "$top_builddir" ] || top_builddir=$TOPDIR
+[ -n "$top_srcdir" ] || top_srcdir=$TOPDIR
 
 
 AUGPARSE="libtool --mode=execute valgrind -q --leak-check=full ${top_builddir}/src/augparse"