From: Imran Zaman Date: Mon, 24 Jun 2013 13:53:55 +0000 (+0300) Subject: Removes the stale files if deleted from the git repo X-Git-Tag: upstream/2.4.0^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cbd5ccbb8d5f1714457f8e2657274f0f35fa153;p=platform%2Fupstream%2Flibgsignon-glib.git Removes the stale files if deleted from the git repo --- diff --git a/tools/prepare-tizen.sh b/tools/prepare-tizen.sh index fe45be4..5e00ac7 100755 --- a/tools/prepare-tizen.sh +++ b/tools/prepare-tizen.sh @@ -13,10 +13,12 @@ currdir = `pwd`; echo "CURR dir = $currdir" mkdir -p $2 && \ -tar -xzvf $1 -C $2 --strip-components 1 && \ cd $2 && \ +git rm -r * && \ +tar -xzvf $1 -C $2 --strip-components 1 && \ mkdir -p packaging && \ cd packaging && \ -cp -f ../dists/rpm/libgsignon-glib-tizen.spec libgsignon-glib.spec && -cp -f ../dists/rpm/libgsignon-glib-tizen.changes libgsignon-glib.changes; +cp -f ../dists/rpm/libgsignon-glib-tizen.spec libgsignon-glib.spec && \ +cp -f ../dists/rpm/libgsignon-glib-tizen.changes libgsignon-glib.changes && \ +cd .. && git add *;