mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
16 lines
394 B
Bash
Executable file
16 lines
394 B
Bash
Executable file
#!/bin/sh
|
|
cwd="$PWD"
|
|
bs_dir="$(dirname $(readlink -f $0))"
|
|
rm -rf "${bs_dir}"/autom4te.cache
|
|
rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
|
|
|
|
echo 'Running autoreconf -if...'
|
|
autoreconf -if || exit 1
|
|
if test -n "$NOCONFIGURE" ; then
|
|
echo 'Configuring...'
|
|
cd "${bs_dir}" &> /dev/null
|
|
test "$?" = "0" || e=1
|
|
test "$cwd" != "$bs_dir" && cd "$cwd" &> /dev/null
|
|
test "$e" = "1" && exit 1
|
|
fi
|