From 8cf01305134f531476171d8809d7f06ffe4b2ff3 Mon Sep 17 00:00:00 2001 From: KIRAN KASHALKAR Date: Tue, 20 Sep 2016 22:56:28 -0400 Subject: [PATCH] Bug 47 fixedgit status Signed-off-by: Kiran Kashalkar --- skyquake/plugins/about/CMakeLists.txt | 1 + skyquake/plugins/about/scripts/install.sh | 2 +- skyquake/plugins/accounts/CMakeLists.txt | 1 + skyquake/plugins/accounts/scripts/install.sh | 2 +- skyquake/plugins/composer/CMakeLists.txt | 1 + skyquake/plugins/composer/scripts/install.sh | 4 ++-- skyquake/plugins/config/CMakeLists.txt | 1 + skyquake/plugins/config/scripts/install.sh | 2 +- skyquake/plugins/debug/CMakeLists.txt | 1 + skyquake/plugins/debug/scripts/install.sh | 2 +- skyquake/plugins/goodbyeworld/CMakeLists.txt | 1 + skyquake/plugins/helloworld/CMakeLists.txt | 1 + skyquake/plugins/launchpad/CMakeLists.txt | 1 + skyquake/plugins/launchpad/scripts/install.sh | 2 +- skyquake/plugins/logging/CMakeLists.txt | 1 + skyquake/plugins/logging/scripts/install.sh | 2 +- 16 files changed, 17 insertions(+), 8 deletions(-) diff --git a/skyquake/plugins/about/CMakeLists.txt b/skyquake/plugins/about/CMakeLists.txt index bc6917551..d4233d349 100644 --- a/skyquake/plugins/about/CMakeLists.txt +++ b/skyquake/plugins/about/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( about + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/about/scripts/install.sh b/skyquake/plugins/about/scripts/install.sh index da5936dd6..79369139b 100755 --- a/skyquake/plugins/about/scripts/install.sh +++ b/skyquake/plugins/about/scripts/install.sh @@ -37,7 +37,7 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. diff --git a/skyquake/plugins/accounts/CMakeLists.txt b/skyquake/plugins/accounts/CMakeLists.txt index 4caa15795..aaf6ad9c7 100644 --- a/skyquake/plugins/accounts/CMakeLists.txt +++ b/skyquake/plugins/accounts/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( accounts + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/accounts/scripts/install.sh b/skyquake/plugins/accounts/scripts/install.sh index 2b5fdb11a..846dad7c8 100755 --- a/skyquake/plugins/accounts/scripts/install.sh +++ b/skyquake/plugins/accounts/scripts/install.sh @@ -37,7 +37,7 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. diff --git a/skyquake/plugins/composer/CMakeLists.txt b/skyquake/plugins/composer/CMakeLists.txt index 9db080f43..d9277b73b 100644 --- a/skyquake/plugins/composer/CMakeLists.txt +++ b/skyquake/plugins/composer/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( composer + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/composer/scripts/install.sh b/skyquake/plugins/composer/scripts/install.sh index abba7f595..76e5e753b 100755 --- a/skyquake/plugins/composer/scripts/install.sh +++ b/skyquake/plugins/composer/scripts/install.sh @@ -37,12 +37,12 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $bcache_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $bcache_dir/plugins/$plugin/. cp -Lrp $source_dir/api $bcache_dir/plugins/$plugin/. -tar -cf $bcache_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $bcache_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $bcache_dir/plugins/$plugin/. diff --git a/skyquake/plugins/config/CMakeLists.txt b/skyquake/plugins/config/CMakeLists.txt index 9e1fe306d..e12d4fd2f 100644 --- a/skyquake/plugins/config/CMakeLists.txt +++ b/skyquake/plugins/config/CMakeLists.txt @@ -22,6 +22,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( config + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/config/scripts/install.sh b/skyquake/plugins/config/scripts/install.sh index 9e6c59eaf..ca3d9cad6 100755 --- a/skyquake/plugins/config/scripts/install.sh +++ b/skyquake/plugins/config/scripts/install.sh @@ -23,7 +23,7 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. diff --git a/skyquake/plugins/debug/CMakeLists.txt b/skyquake/plugins/debug/CMakeLists.txt index 6d2e56de6..20ff171fe 100644 --- a/skyquake/plugins/debug/CMakeLists.txt +++ b/skyquake/plugins/debug/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( debug + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/debug/scripts/install.sh b/skyquake/plugins/debug/scripts/install.sh index a14b9bd9c..6e27c8659 100755 --- a/skyquake/plugins/debug/scripts/install.sh +++ b/skyquake/plugins/debug/scripts/install.sh @@ -37,7 +37,7 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. diff --git a/skyquake/plugins/goodbyeworld/CMakeLists.txt b/skyquake/plugins/goodbyeworld/CMakeLists.txt index 773e1bd26..414bed0f1 100644 --- a/skyquake/plugins/goodbyeworld/CMakeLists.txt +++ b/skyquake/plugins/goodbyeworld/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( goodbyeworld + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/helloworld/CMakeLists.txt b/skyquake/plugins/helloworld/CMakeLists.txt index 921c1aadb..b78f22e1e 100644 --- a/skyquake/plugins/helloworld/CMakeLists.txt +++ b/skyquake/plugins/helloworld/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( helloworld + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/launchpad/CMakeLists.txt b/skyquake/plugins/launchpad/CMakeLists.txt index 2917c8df4..e9026e922 100644 --- a/skyquake/plugins/launchpad/CMakeLists.txt +++ b/skyquake/plugins/launchpad/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( launchpad + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/launchpad/scripts/install.sh b/skyquake/plugins/launchpad/scripts/install.sh index 79fb26b44..ac8bff88d 100755 --- a/skyquake/plugins/launchpad/scripts/install.sh +++ b/skyquake/plugins/launchpad/scripts/install.sh @@ -37,7 +37,7 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. diff --git a/skyquake/plugins/logging/CMakeLists.txt b/skyquake/plugins/logging/CMakeLists.txt index 1bf296398..fafe77709 100644 --- a/skyquake/plugins/logging/CMakeLists.txt +++ b/skyquake/plugins/logging/CMakeLists.txt @@ -36,6 +36,7 @@ cmake_minimum_required(VERSION 2.8) rift_externalproject_add( logging + DEPENDS skyquake SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_COMMAND echo BUILD_COMMAND diff --git a/skyquake/plugins/logging/scripts/install.sh b/skyquake/plugins/logging/scripts/install.sh index 1eac1a111..e6fdb86ff 100755 --- a/skyquake/plugins/logging/scripts/install.sh +++ b/skyquake/plugins/logging/scripts/install.sh @@ -37,7 +37,7 @@ cp -Lrf $source_dir/public $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/config.json $dest_dir/plugins/$plugin/. cp -Lrf $source_dir/routes.js $dest_dir/plugins/$plugin/. cp -Lrp $source_dir/api $dest_dir/plugins/$plugin/. -tar -cf $dest_dir/plugins/$plugin/node_modules.tar $source_dir/node_modules $source_dir/package.json +tar -cf $dest_dir/plugins/$plugin/node_modules.tar node_modules package.json -C $source_dir #cp -Lrp $source_dir/node_modules $dest_dir/plugins/$plugin/. mkdir -p $bcache_dir/plugins/$plugin cp -Lrf $source_dir/public $bcache_dir/plugins/$plugin/. -- 2.17.1