freebsd-ports/editors/codelite/files/patch-Runtime_codelite_xterm
2012-06-19 08:35:21 +00:00

17 lines
647 B
Text

--- Runtime/codelite_xterm.orig 2012-06-18 14:05:30.000000000 +0200
+++ Runtime/codelite_xterm 2012-06-18 14:05:45.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
## A wrapper script around the xterm utility
## which allows codelite to export LD_LIBRARY_PATH into the exterm
@@ -17,7 +17,7 @@
## Run xterm without the bash wrapper
xterm -T "$program_title" -e $2 2> /dev/null
else
- xterm -T "$program_title" -e /bin/bash -c 'export LD_LIBRARY_PATH=$0;shift;$@' $LD_LIBRARY_PATH "$@" 2> /dev/null
+ xterm -T "$program_title" -e /bin/sh -c 'export LD_LIBRARY_PATH=$0;shift;$@' $LD_LIBRARY_PATH "$@" 2> /dev/null
fi
fi