diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-02-21 12:43:42 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-02-21 12:43:42 (GMT) |
commit | 2876869020584497e61a340d4ca3c4c8a8cbde7f (patch) | |
tree | bb83d328a70fa1e8470d954e8ed90d7bba422ae8 /bin/wrapper | |
parent | 9ac3745fbd4253caca810d607a6f230d2b3b341d (diff) |
undoing pyalsaaudio patchv36
Diffstat (limited to 'bin/wrapper')
-rwxr-xr-x | bin/wrapper | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/wrapper b/bin/wrapper deleted file mode 100755 index 0d92661..0000000 --- a/bin/wrapper +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -set -e -instflag="${SUGAR_ACTIVITY_ROOT}/data/.installed" -cpu="$(uname -m)" -archsrcdir="${SUGAR_BUNDLE_PATH}/arch_src" -archbundledir="${SUGAR_BUNDLE_PATH}/arch_${cpu}" -archinstdir="${SUGAR_ACTIVITY_ROOT}/data/.arch_${cpu}" -pythonversion="$(python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)" - -if [ ! -e "${instflag}" ] ; then - curchecksum="$(find "${archsrcdir}" -type f -print0 | xargs -0 md5sum -- | md5sum)" - if [ "$cpu" = "unknown" -o ! -e "${archbundledir}" ] || [ "${curchecksum}" != "$(cat "${archbundledir}/checksum")" ] ; then - # unknown arch or no (current) precompiled binaries -> need to compile - compile-archspec "${archsrcdir}" "${archinstdir}" - fi - touch "${instflag}" -fi - -export LD_LIBRARY_PATH="${archinstdir}/lib:${archinstdir}/lib64:${LD_LIBRARY_PATH}" -export PYTHONPATH="${archinstdir}/lib/python${pythonversion}/site-packages:${PYTHONPATH}" - -exec "$@" |