From: wansu.yoo Date: Mon, 11 Dec 2017 04:42:07 +0000 (+0900) Subject: Update gitmodules.sh for removing init/update script X-Git-Tag: accepted/tizen/unified/20171211.160406~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fdocker-engine.git;a=commitdiff_plain;h=4b59574334fa2bd27191aa592f46845b4b184a5d Update gitmodules.sh for removing init/update script it works with current .gitmodules file and .gitmodules was made from previous tar files. so it should not executed when push with new commit. Signed-off-by: wansu.yoo Change-Id: I918dd22d76230797a49a12df0bb34f72f5ebdec2 --- diff --git a/packaging/gitmodules.sh b/packaging/gitmodules.sh index a0b00e5..b89a132 100644 --- a/packaging/gitmodules.sh +++ b/packaging/gitmodules.sh @@ -11,8 +11,11 @@ git submodule status | awk '{ print $2 }' | while read dir ; do name=$(basename "$dir" ) echo "name=" echo "dir=$dir" - git submodule init - git submodule update +# remove submodule init and upste script at gitmodule.sh file +# it works with current .gitmodules file and .gitmodules was made from previous tar files +# so it should not executed when push with new commit +# git submodule init +# git submodule update tar cjvf "./packaging/${name}.tar.bz2" "${dir}"