Tweaked cleanup of .xs_id again

Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
Russ Magee 2020-09-13 21:51:18 -07:00
parent 5aca04e1d5
commit 0f22f35e7c
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ echo -n "Integrity check on copied files (sha1sum) ..."
sha1sum $(find cptest -type f | sort) >sc.sha1sum sha1sum $(find cptest -type f | sort) >sc.sha1sum
diff sc.sha1sum ${BACILLUS_WORKDIR}/build/xs/cptest.sha1sum diff sc.sha1sum ${BACILLUS_WORKDIR}/build/xs/cptest.sha1sum
stat=$? stat=$?
cd - cd -
rm -rf /tmp/$tmpdir rm -rf /tmp/$tmpdir
if [ $stat -eq "0" ]; then if [ $stat -eq "0" ]; then
echo "OK." echo "OK."
@ -99,7 +99,7 @@ tar -cz --exclude=.git --exclude=cptest -f ${BACILLUS_ARTFDIR}/xs.tgz .
############ ############
stage "Cleanup" stage "Cleanup"
############ ############
rm -f ~/.xs_id # nop
echo echo
echo "--Done--" echo "--Done--"