mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Stop using cd .. , cd .. and change to the exact directory
This commit is contained in:
parent
de2cb793d1
commit
f059ec0998
@ -277,15 +277,16 @@ fi
|
||||
chgrp -R -h $SYSGRP *
|
||||
chmod -R g+w *
|
||||
|
||||
echo "===> Building the tarball..."
|
||||
TARBALL_WORKING_DIR="${XCATCOREDIR}/${DESTDIR}"
|
||||
echo "===> Building the tarball at: ${TARBALL_WORKING_DIR} ..."
|
||||
#
|
||||
# Want to stay one level above xcat-dep so that the script
|
||||
# can rsync the directory up to xcat.org.
|
||||
#
|
||||
# DO NOT CHANGE DIRECTORY AFTER THIS POINT!!
|
||||
#
|
||||
cd ..
|
||||
pwd
|
||||
|
||||
cd ${TARBALL_WORKING_DIR}
|
||||
|
||||
verbosetar=""
|
||||
if [ -n "$VERBOSEMODE" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user