mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-07-28 12:57:06 +01:00
initial commit
This commit is contained in:
15
update_eigen.sh
Executable file
15
update_eigen.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if (( $# != 1 )); then
|
||||
echo "usage: `basename $0` <archive>" 1>&2
|
||||
fi
|
||||
ARC=$1
|
||||
|
||||
INITDIR=`pwd`
|
||||
ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'`
|
||||
tar -xf ${ARC}
|
||||
cd ${ARCDIR}
|
||||
rm -rf latan/Eigen
|
||||
tar -cf - Eigen --exclude='*.txt' | tar -xvf - -C ../latan/
|
||||
cd ${INITDIR}
|
||||
rm -rf ${ARCDIR}
|
Reference in New Issue
Block a user