about summary refs log tree commit diff
path: root/tests/build-hook.hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/build-hook.hook.sh')
-rwxr-xr-xtests/build-hook.hook.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build-hook.hook.sh b/tests/build-hook.hook.sh
index 18eba283e11d..83fa3bf78757 100755
--- a/tests/build-hook.hook.sh
+++ b/tests/build-hook.hook.sh
@@ -6,11 +6,11 @@ drv=$4
 
 echo "HOOK for $drv" >&2
 
-outPath=$(sed 's/Derive(\[("out",\"\([^\"]*\)\".*/\1/' $drv)
+outPath=`sed 's/Derive(\[("out",\"\([^\"]*\)\".*/\1/' $drv`
 
 echo "output path is $outPath" >&2
 
-if $(echo $outPath | grep -q input-1); then
+if `echo $outPath | grep -q input-1`; then
     echo "# accept" >&2
     read x
     echo "got $x"