diff options
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/mkjail | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/src/mkjail b/trunk/src/mkjail index 27bf8d5..c4bf882 100755 --- a/trunk/src/mkjail +++ b/trunk/src/mkjail @@ -45,9 +45,9 @@ function exec_post_install_scripts { echo "$BASENAME: executing template scripts..." if [ -d "$TEMPLATE_BASE.s" ]; then - for script in `ls $TEMPLATE_BASE.s/`; do - if [ -x "$TEMPLATE_BASE.s/$script" ]; then - exec $TEMPLATE_BASE.s/$script $1 $2 + for command in `ls $TEMPLATE_BASE.s/`; do + if [ -x "$TEMPLATE_BASE.s/$command" ]; then + exec $TEMPLATE_BASE.s/$command $1 $2 fi done fi |