few fix and typoes
This commit is contained in:
@@ -72,7 +72,11 @@ installfile()
|
||||
filelist="$filelist $arg"
|
||||
fi
|
||||
done
|
||||
for i in $filelist; do :; done
|
||||
|
||||
# Empty for just to obtain the target which is the last element of the list
|
||||
for i in $filelist; do
|
||||
:
|
||||
done
|
||||
if [[ ! $i == /* ]]; then
|
||||
prnt E "installfile(): Target must be on the root filesystem and fuul path must be provided."
|
||||
die 13
|
||||
@@ -84,6 +88,7 @@ installfile()
|
||||
prnt E "installfile(): Can't create target dirrectory!"
|
||||
die 12
|
||||
fi
|
||||
fi
|
||||
prnt I "Copie des fichiers ${filelist}..."
|
||||
cp -av $filelist
|
||||
if [[ $? -ne 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user