]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak our bashrc %ignore
authorBrian West <brian@freeswitch.org>
Wed, 30 Nov 2016 20:29:21 +0000 (14:29 -0600)
committerBrian West <brian@freeswitch.org>
Wed, 30 Nov 2016 20:29:21 +0000 (14:29 -0600)
support-d/.bashrc

index a02d28f97148a2469c20970541c70a9062523353..51e6ca5411f9b17f42f1dd7c478db4a4367375cd 100644 (file)
@@ -12,7 +12,7 @@ if [ "`id -u`" = "0" ]; then
        if [ -d /usr/src/freeswitch.git/support-d/utils ]; then
            export PATH="/usr/src/freeswitch.git/support-d/utils:$PATH"
        fi
-       export PCVAR=`find /usr -name freeswitch.pc| grep -v build/freeswitch.pc`
+       export PCVAR=`find /usr -name freeswitch.pc | grep -v build/freeswitch.pc | sed -e ':a' -e 'N' -e 's/\n/:/g'`
        if [ -n "$PCVAR" ]; then
            export PCDIR=${PCVAR%/*}
            export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PCDIR:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig