summaryrefslogtreecommitdiff
path: root/xibuild/build_package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xibuild/build_package.sh')
-rwxr-xr-xxibuild/build_package.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/xibuild/build_package.sh b/xibuild/build_package.sh
index 40c0e02..fb4069e 100755
--- a/xibuild/build_package.sh
+++ b/xibuild/build_package.sh
@@ -82,6 +82,14 @@ fetch_source () {
# download additional files
if [ "$#" != 0 ]; then
for url in $@; do
+ case $url in
+ http*)
+ ;;
+ *)
+ url="file://${XIB_BUILDFILES}/extra/$url"
+ ;;
+ esac
+
local name=$(basename $url)
curl -SsL $url > $src_dir/$name
done
@@ -229,6 +237,5 @@ build_pkg () {
# import all of the functions and constants in the build file, so we know what to do
. $BUILDFILE
-
package_exists || build_pkg