From 6cb1ade8545d322505078292d99d67c43d3d1c94 Mon Sep 17 00:00:00 2001 From: Bon-Yong Lee Date: Fri, 7 Dec 2012 19:07:02 +0900 Subject: [PATCH] [Title] Fix manifest file bug [Desc.] [Issue] --- package/web-cli.install.linux | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/web-cli.install.linux b/package/web-cli.install.linux index f341ff0..5b5fe7e 100755 --- a/package/web-cli.install.linux +++ b/package/web-cli.install.linux @@ -11,4 +11,8 @@ for CLI_CMD in `ls ${cli_path}`; do done rm -rf ${tools_path}/common.sh +safe="$(printf "%s" "$tools_path" |sed 's/\\/\\\\/g' | sed 's/\"/\\"/g' | sed 's/\//\\\//g' )" +sed "s/\$DIR_REALM/${safe}\/ide\/realm/" ${cli_path}/web-template > ${cli_path}/web-template +sed "s/\$DIR_REALM/${safe}\/ide\/realm/" ${tools_path}/realm/config.json > ${tools_path}/realm/config.json + exit 0 -- 2.7.4