d2955bc608
ok edd@
19 lines
696 B
Plaintext
19 lines
696 B
Plaintext
$OpenBSD: patch-examples_gen_example_code_sh,v 1.2 2010/10/31 21:05:38 ckuethe Exp $
|
|
--- examples/gen_example_code.sh.orig Thu Oct 28 09:14:14 2010
|
|
+++ examples/gen_example_code.sh Thu Oct 28 21:59:18 2010
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!${BASH}
|
|
##
|
|
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
|
##
|
|
@@ -49,7 +49,7 @@ include_block() {
|
|
*)
|
|
if [ "x$on_block" == "xyes" ]; then
|
|
local rem
|
|
- (( rem = 78 - indent ))
|
|
+ rem=$(expr 78 - $indent )
|
|
case "$block_name" in
|
|
\**) printf "%${indent}s * %s\n" "" "$t_line" ;;
|
|
*)
|