Try to fix dots in tar

This commit is contained in:
Nabeel Shahzad 2021-08-07 12:24:15 -04:00
parent bbbe8a8bd3
commit 681e39650b

View File

@ -79,12 +79,14 @@ ls -al $BASE_DIR/../
echo "Calling find"
find $BASE_DIR/../ -type d -maxdepth 2
tar -czf $TAR_NAME -C $BASE_DIR .
shopt -s dotglob
tar -czf $TAR_NAME -C $BASE_DIR *
sha256sum $TAR_NAME >"$TAR_NAME.sha256"
cd $BASE_DIR;
zip -r $ZIP_NAME ./
sha256sum $ZIP_NAME >"$ZIP_NAME.sha256"
mv $ZIP_NAME /tmp
mv "$ZIP_NAME.sha256" /tmp