diff --git a/pkgs/build-support/fetchdarcs/builder.sh b/pkgs/build-support/fetchdarcs/builder.sh index e1c5d7745d35..8137209686b6 100644 --- a/pkgs/build-support/fetchdarcs/builder.sh +++ b/pkgs/build-support/fetchdarcs/builder.sh @@ -1,3 +1,5 @@ +set -u + tagtext="" tagflags="" # Darcs hashes are sha1 (120 bits, 40-character hex) @@ -12,7 +14,7 @@ elif test -n "$context"; then tagflags="--context=$context" fi -echo "Cloning $url $partial ${tagtext} into $out" +echo "Cloning $url ${tagtext} into $out" darcs clone --lazy $tagflags "$url" "$out" # remove metadata, because it can change