- |
echo "Creating source tar file ..."
ODIR=$(pwd)
- ROOT_OBJECTS=$( ls -1 | egrep -vw ".git|rpmdir|jes-old" )
+ ROOT_OBJECTS=$( ls -A1 | egrep -vw ".git|rpmdir|jes-old" )
PKG_VERSION=$( ./get-rpm-version )
PKG_RELEASE=$( ./get-rpm-release )
echo "Version to build: ${PKG_VERSION}-${PKG_RELEASE}"
mkdir -pv "rpmdir/SOURCES/pp-admintools-${PKG_VERSION}"
tar cf - ${ROOT_OBJECTS} | (cd "rpmdir/SOURCES/pp-admintools-${PKG_VERSION}" ; tar xf -)
+ echo "Dir content of rpmdir/SOURCES/pp-admintools-${PKG_VERSION}/etc/profile.d:"
+ ls -l rpmdir/SOURCES/pp-admintools-${PKG_VERSION}/etc/profile.d
echo "Creating rpmdir/SOURCES/pp-admintools.${PKG_VERSION}.tar.gz ..."
cd rpmdir/SOURCES && tar cfz "pp-admintools.${PKG_VERSION}.tar.gz" "pp-admintools-${PKG_VERSION}"
ls -lA --color=always