From 2cbd5ccbb8d5f1714457f8e2657274f0f35fa153 Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Mon, 24 Jun 2013 16:53:55 +0300 Subject: [PATCH] Removes the stale files if deleted from the git repo --- tools/prepare-tizen.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 *; -- 2.34.1