Skip to content

Commit

Permalink
log err when packing
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightXiaoHan committed Sep 15, 2023
1 parent d2ed8fd commit 9baf189
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ OUTFILE=${1:-homecli.tar.gz}
DIR=~/.cache/homecli

# source $DIR/miniconda/bin/activate
$DIR/miniconda/bin/conda-pack -o $DIR/miniconda.tar.gz > /dev/null
$DIR/miniconda/bin/conda-pack -o $DIR/miniconda.tar.gz

CURDIR=$(pwd)
echo $CURDIR

OUTFILE=${1:-homecli.tar.gz}
cd $DIR
tar -cvf $CURDIR/$OUTFILE \
HOME bin miniconda.tar.gz > /dev/null
HOME bin miniconda.tar.gz
rm miniconda.tar.gz
cd -

cd ~/.local/share/
tar -rvf $CURDIR/$OUTFILE nvim/ > /dev/null
tar -rvf $CURDIR/$OUTFILE nvim/
cd -

0 comments on commit 9baf189

Please sign in to comment.