Skip to content

Commit

Permalink
Added files needed for VW build deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottMcMichael committed Dec 9, 2016
1 parent 7b5d1e7 commit e31c33d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
25 changes: 25 additions & 0 deletions libexec-helper_vw.sh
@@ -0,0 +1,25 @@
#!/bin/sh

self=$$
trap 'exit 1' TERM

TOPLEVEL="$(cd $(dirname $0)/.. && pwd)"
LIBEXEC="${ASP_DEBUG_DIR:-${TOPLEVEL}/libexec}"

. "${LIBEXEC}/constants.sh"
. "${LIBEXEC}/libexec-funcs.sh"

if [ "$(uname -s)" = "Linux" ]
then
check_libc
fi

PROGRAM="${LIBEXEC}/$(basename $0)"

set_lib_paths "${TOPLEVEL}/lib"

if ! test -f "${PROGRAM}"; then
msg "Could not find ${PROGRAM}"
die "Is your Vision Workbench install incomplete?"
fi
exec "${PROGRAM}" "$@"
12 changes: 12 additions & 0 deletions whitelist_vw
@@ -0,0 +1,12 @@
bin/undistort_image
bin/colormap
bin/gdal_translate
bin/gdalinfo
bin/gdalbuildvrt
bin/hillshade
bin/image2qtree
bin/ipfind
bin/ipmatch
lib/libvw*.[so,dylib]*
share/gdal/*
share/proj/*

0 comments on commit e31c33d

Please sign in to comment.