From a338dcbab5f090edfa94bdb2ac8cf3afea03a5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=B6=E5=AD=97=E9=BE=8D=28Vdragon=29?= Date: Wed, 6 Jun 2012 03:06:26 +0800 Subject: [PATCH] tried to fix #366 : change directory to hime root before cd fedora --- distro/fedora/gen-rpm | 1 + 1 file changed, 1 insertion(+) diff --git a/distro/fedora/gen-rpm b/distro/fedora/gen-rpm index c140327a..92c1d0d6 100755 --- a/distro/fedora/gen-rpm +++ b/distro/fedora/gen-rpm @@ -41,6 +41,7 @@ else cp -r $GIT_DIR_NAME $TAR_NAME tar --owner=0 --group=0 -Jcf "$TAR_NAME".tar.xz $TAR_NAME --exclude=.git cp ${TAR_NAME}.tar.xz ${SRCDIR}/${TAR_NAME}.tar.xz + cd ${GIT_DIR_NAME} fi cd ${DISTROROOT}