From 3029ab344c8ce6b74019a935684f4bbaefb955d7 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 3 Jul 2013 19:56:50 +0200 Subject: [PATCH] correct the disable flash update script --- builder-targets-cb.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh index 739d4be..b4c669b 100644 --- a/builder-targets-cb.sh +++ b/builder-targets-cb.sh @@ -114,11 +114,11 @@ function create() { fi mv -v $INST_DIR/CLIENT_DATA/mms.cfg $INST_DIR/CLIENT_DATA/Install/Packages/Flash/mms.cfg sed 's/.*\t<\/install>.*/\t\t\n&/' -i $INST_DIR/CLIENT_DATA/Install/Packages/Flash/package.xml - sed 's/.*\t<\/install>.*/\t\t\n&/' -i $INST_DIR/CLIENT_DATA/Install/Packages/Flash/package.xml + sed 's/.*\t<\/install>.*/\t\t\n&/' -i $INST_DIR/CLIENT_DATA/Install/Packages/Flash/package.xml echo "@echo off" >> $INST_DIR/CLIENT_DATA/Install/Packages/Flash/disable32.bat - echo "copy /y /v mms.cfg %WINDIR%\system32\Macromed\Flash\ " >> $INST_DIR/CLIENT_DATA/Install/Packages/Flash/disable32.bat + echo "copy /y /v \"%~dp0mms.cfg\" \"%WINDIR%\system32\Macromed\Flash\mms.cfg\"" >> $INST_DIR/CLIENT_DATA/Install/Packages/Flash/disable32.bat echo "@echo off" >> $INST_DIR/CLIENT_DATA/Install/Packages/Flash/disable64.bat - echo "copy /y /v mms.cfg %WINDIR%\SysWOW64\Macromed\Flash\ " >> $INST_DIR/CLIENT_DATA/Install/Packages/Flash/disable64.bat + echo "copy /y /v \"%~dp0mms.cfg\" \"%WINDIR%\SysWOW64\Macromed\Flash\mms.cfg\"" >> $INST_DIR/CLIENT_DATA/Install/Packages/Flash/disable64.bat # move the uninstallers in place (directory layout like the sereby package) mv -v $INST_DIR/CLIENT_DATA/X86/JavaRa $INST_DIR/CLIENT_DATA/UnInstall/Packages/JRE