flatten 20260225
This commit is contained in:
18
resources/prepare-template
Executable file
18
resources/prepare-template
Executable file
@@ -0,0 +1,18 @@
|
||||
set -x
|
||||
|
||||
LIB=$1
|
||||
DIR=$2
|
||||
|
||||
WHERE=`dirname "$0"`
|
||||
|
||||
rm -f $LIB
|
||||
rm -rf $LIB*/
|
||||
|
||||
for f in *.tar.*; do tar xf $f; done
|
||||
for f in *.tgz; do tar xf $f; done
|
||||
|
||||
ln -s $LIB*/ $LIB
|
||||
|
||||
rm -f $LIB/Makefile
|
||||
ln -s $WHERE/Makefile-template $LIB/Makefile
|
||||
|
||||
Reference in New Issue
Block a user