summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-misc.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-16 19:06:21 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-16 19:06:21 +0100
commitaef60a91f36974b2b054cd6f6296615a2553bf4c (patch)
tree5e38e127482fdf1de41924ec25668ad14407d85f /src/core/libs/lib-misc.sh
parentd8b38a0768f6e71dec55d4d70d4dca74327a7420 (diff)
updated HOWTO for install using packages, got rid of patch-install-cd script + renamed fifa into aif everywhere
Diffstat (limited to 'src/core/libs/lib-misc.sh')
-rw-r--r--src/core/libs/lib-misc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/libs/lib-misc.sh b/src/core/libs/lib-misc.sh
index b85e151..f4ae997 100644
--- a/src/core/libs/lib-misc.sh
+++ b/src/core/libs/lib-misc.sh
@@ -14,7 +14,7 @@ run_background ()
debug "run_background called. identifier: $1, command: $2, logfile: $3"
( \
- touch /home/arch/fifa/runtime/$1-running
+ touch /home/arch/aif/runtime/$1-running
debug "run_background starting $1: $2 >>$3 2>&1"
[ -f $3 ] && echo -e "\n\n\n" >>$3
echo "STARTING $1 . Executing $2 >>$3 2>&1\n" >> $3;
@@ -23,7 +23,7 @@ run_background ()
read $var_exit <<< $? #TODO: bash complains about 'not a valid identifier' or something iirc -> maybe fixed now..
debug "run_background done with $1: exitcode (\$$1_exitcode): "${!var_exit}" .Logfile $3" #TODO ${!var_exit} doesn't show anything --> maybe fixed now
echo >> $3
- rm -f /home/arch/fifa/runtime/$1-running
+ rm -f /home/arch/aif/runtime/$1-running
) &
sleep 2
@@ -36,7 +36,7 @@ wait_for ()
{
[ -z "$1" ] && die_error "wait_for needs an identifier to known on which command to wait!"
- while [ -f /home/arch/fifa/runtime/$1-running ]
+ while [ -f /home/arch/aif/runtime/$1-running ]
do
#TODO: follow_progress dialog mode = nonblocking (so check and sleep is good), cli mode (tail -f )= blocking? (so check is probably not needed as it will be done)
sleep 1