From 865931f616e333c151f70536344d877321f27e96 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 6 Apr 2007 21:31:02 +0000 Subject: mkjail: small change git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@300 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/mkjail | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trunk/src') 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 -- cgit v1.2.3