summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@gmail.com>2015-06-04 11:08:26 +0200
committerStéphane Desneux (sdx) <stephane.desneux@open.eurogiciel.org>2015-06-26 03:01:21 -0700
commit8fa62faff1c8df1b48e085872a7102838f6ee442 (patch)
tree7beba71d191ec7916ec7a9f6cd804eb83d124ff6 /meta/recipes-devtools
parent096bce8eec0aa432c51c216b03a2c1a6f2fc5d44 (diff)
downloadtizen-distro-8fa62faff1c8df1b48e085872a7102838f6ee442.tar.gz
tizen-distro-8fa62faff1c8df1b48e085872a7102838f6ee442.tar.bz2
tizen-distro-8fa62faff1c8df1b48e085872a7102838f6ee442.zip
run-postinsts : Fix script execution issue "Invalid argument"
log extract : /usr/sbin/run-postinsts: line 57: /var/log/postinstall.log: Invalid argument Change-Id: If5f75f9fcdf8a9fe83ef5fe61acb38df0a0b16ef Signed-off-by: Baptiste DURAND <baptiste.durand@gmail.com>
Diffstat (limited to 'meta/recipes-devtools')
-rwxr-xr-xmeta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index f547a7b7bd..eb3839596a 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -54,13 +54,13 @@ exec_postinst_scriptlets() {
for i in `ls $pi_dir`; do
i=$pi_dir/$i
echo "Running postinst $i..."
- [ "$POSTINST_LOGGING" = "1" ] && eval echo "Running postinst $i..." $append_log
+ [ "$POSTINST_LOGGING" = "1" ] && eval echo "Running postinst $i..." \$append_log
if [ -x $i ]; then
- eval sh -c $i $append_log
+ eval sh -c $i \$append_log
rm $i
else
echo "ERROR: postinst $i failed."
- [ "$POSTINST_LOGGING" = "1" ] && eval echo "ERROR: postinst $i failed." $append_log
+ [ "$POSTINST_LOGGING" = "1" ] && eval echo "ERROR: postinst $i failed." \$append_log
remove_pi_dir=0
fi
done
@@ -70,11 +70,11 @@ remove_pi_dir=1
if $pm_installed; then
case $pm in
"ipk")
- eval opkg-cl configure $append_log
+ eval opkg-cl configure \$append_log
;;
"deb")
- eval dpkg --configure -a $append_log
+ eval dpkg --configure -a \$append_log
;;
esac
else