Skip to content

Commit

Permalink
more updates for nanonminer
Browse files Browse the repository at this point in the history
  • Loading branch information
cynixx3 committed May 19, 2021
1 parent ae5745d commit c4ac78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner-manager
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ f.PREPMINER(){
mkdir "$MINER_BRANCH"
echo "WARNING: tarbomb detected. Opening in subdirectory, $MINER_BRANCH."
else
MINER_ARCHIVE_FOLDER=$(tar "$CT" -tf "$MINER_BRANCH.$COMPRESSION" | grep -oP '^.*\/' | grep -vE '(kernel|plugin|log.|doc)' | sort -u | tail -n1) || echo "failed to find archive folder"
MINER_ARCHIVE_FOLDER=$(tar "$CT" -tf "$MINER_BRANCH.$COMPRESSION" | grep -oP '^.*\/' | grep -vE '(kernel|plugin|log.|doc|web|licenses|scripts|lib)' | sort -u | tail -n1) || echo "failed to find archive folder"
fi
if ! tar "$CT" -xf "$MINER_BRANCH.$COMPRESSION" "$SUBDIR" ; then
echo "Unable to extract files package. Please check your access to git then try again."
Expand Down

0 comments on commit c4ac78e

Please sign in to comment.