Commit 7845e1f4 authored by Jake Wheat's avatar Jake Wheat
Browse files

bootstrap.sh: alter check for tarballs already downloaded to work with symlinks also

parent 90993d34
......@@ -195,7 +195,7 @@ info_pkg () {
if need_pkg ${PKG} ${VER_MATCH}
then
if [ -f "${PKG}-${VER}.tar.gz" ]
if [ -r "${PKG}-${VER}.tar.gz" ]
then
echo "${PKG}-${VER} will be installed from local tarball."
else
......@@ -277,9 +277,9 @@ do_pkg () {
if need_pkg ${PKG} ${VER_MATCH}
then
echo
if [ -f "${PKG}-${VER}.tar.gz" ]
if [ -r "${PKG}-${VER}.tar.gz" ]
then
echo "Using local tarball for ${PKG}-${VER}"
echo "Using local tarball for ${PKG}-${VER}."
else
echo "Downloading ${PKG}-${VER}..."
fetch_pkg ${PKG} ${VER}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment