Fix compile.sh for macports
Add a newline to compile.sh so that the archive_dir variable is
preserved when building with macports.
Without this, we see the following:
$ ./compile.sh
cp: /include/archive.h: No such file or directory
cp: /include/archive_entry.h: No such file or directory
--
Change-Id: c03f3ba7070339ad2e9a0373f98135f780484431
MOS_MIGRATED_REVID=91703218
diff --git a/compile.sh b/compile.sh
index 09d26d4..d4fcfba 100755
--- a/compile.sh
+++ b/compile.sh
@@ -99,7 +99,8 @@
elif [[ -e $macports_header ]]; then
# For use with Macports.
- archive_dir=$(dirname $(dirname $macports_header)) rm -f fromhost/*.[ah]
+ archive_dir=$(dirname $(dirname $macports_header))
+ rm -f fromhost/*.[ah]
touch fromhost/empty.c
cp "${archive_dir}"/include/{archive.h,archive_entry.h} fromhost/
cp "${archive_dir}"/lib/{libarchive,liblzo2,liblzma,libcharset,libbz2,libxml2,libz,libiconv}.a \