Remove unnecessary cp in configure-plugins and more precise touch flag ##build

This commit is contained in:
Abhi 2024-10-11 14:44:00 +05:30 committed by GitHub
parent 2f2d77267d
commit 66da857a0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 8 deletions

View File

@ -53,12 +53,6 @@ load () {
fi
}
save () {
cp $cfg plugins.cfg
# echo "STATIC=\"$STATIC\"" > $cfg
# echo "SHARED=\"$SHARED\"" >>$cfg
}
generate_configh () {
plugins=""
oldlib=""
@ -267,6 +261,5 @@ check_conflicts || exit 1
echo SHARED: ${SHARED}
echo STATIC: ${STATIC}
save
exit 0

View File

@ -24,7 +24,7 @@ fi
./configure-plugins
bash ./configure --with-compiler=termux --prefix=${PREFIX} || exit 1
make libr/include/r_version.h
touch -t 19700101 libr/include/r_version.h
touch -t 197001010000 libr/include/r_version.h
rm -f "${PREFIX}/lib/"libr_*
make -j2 || exit 1
make symstall