changeset 34448:6dc79618ec0e

Fix directory creation in refupdate script.
author reimar
date Sun, 08 Jan 2012 15:38:22 +0000
parents 23d3354fbdad
children 8d19b1ec5ea5
files tests/refupdate.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/refupdate.sh	Sun Jan 08 13:47:08 2012 +0000
+++ b/tests/refupdate.sh	Sun Jan 08 15:38:22 2012 +0000
@@ -3,6 +3,6 @@
 find res -name '*.bad' | while read bad_res ; do
   ref_file="ref/${bad_res#res/}"
   ref_file="${ref_file%.bad}"
-  mkdir -p $(dirname "ref_file")
+  mkdir -p "$(dirname "$ref_file")"
   cp "$bad_res" "$ref_file"
 done