summaryrefslogtreecommitdiff
path: root/setup_guile_test_env.in
diff options
context:
space:
mode:
authorEric Blossom2010-12-07 13:19:06 -0800
committerEric Blossom2010-12-07 13:19:06 -0800
commitc69cf50c8c553377d1ad9d353b207d57f5d3a47d (patch)
treef0932078be6ed05f1fcf3d2d9fefd22afbc3ba3b /setup_guile_test_env.in
parente0f038f1fbeb28b7a4678d0a90b7132836e10a21 (diff)
downloadgnuradio-c69cf50c8c553377d1ad9d353b207d57f5d3a47d.tar.gz
gnuradio-c69cf50c8c553377d1ad9d353b207d57f5d3a47d.tar.bz2
gnuradio-c69cf50c8c553377d1ad9d353b207d57f5d3a47d.zip
Change shell function definitions to use POSIX syntax
Diffstat (limited to 'setup_guile_test_env.in')
-rw-r--r--setup_guile_test_env.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/setup_guile_test_env.in b/setup_guile_test_env.in
index f143685c0..a95d54e74 100644
--- a/setup_guile_test_env.in
+++ b/setup_guile_test_env.in
@@ -26,7 +26,7 @@
# 2nd argument is absolute path to component C++ shared library build directory
# 3nd argument is absolute path to component SWIG build directory
-function add_local_paths(){
+add_local_paths() {
if [ $# -ne 3 ]
then
echo "$0: requires 3 args" 1>&2
@@ -50,7 +50,7 @@ abs_top_srcdir=@abs_top_srcdir@
abs_top_builddir=@abs_top_builddir@
# usage: prepend <path-varname> <dir>
-function prepend(){
+prepend() {
if [ $# -ne 2 ]
then
echo "$0: prepend needs 2 args" 1>&2
@@ -71,7 +71,7 @@ function prepend(){
}
# usage: append <path-varname> <dir>
-function append(){
+append() {
if [ $# -ne 2 ]
then
echo "$0: append needs 2 args" 1>&2
@@ -91,17 +91,17 @@ function append(){
#echo end-of-append: $path=${!path}
}
-function prepend_to_guile_load_path(){
+prepend_to_guile_load_path() {
prepend GUILE_LOAD_PATH "$1"
export GUILE_LOAD_PATH
}
-function append_to_guile_load_path(){
+append_to_guile_load_path() {
append GUILE_LOAD_PATH "$1"
export GUILE_LOAD_PATH
}
-function prepend_to_libpath(){
+prepend_to_libpath() {
prepend LTDL_LIBRARY_PATH "$1"
export LTDL_LIBRARY_PATH
case "@host_os@" in
@@ -116,7 +116,7 @@ function prepend_to_libpath(){
esac
}
-function append_to_libpath(){
+append_to_libpath() {
append LTDL_LIBRARY_PATH "$1"
export LTDL_LIBRARY_PATH
case "@host_os@" in