summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block
diff options
context:
space:
mode:
Diffstat (limited to 'gr-howto-write-a-block')
-rw-r--r--gr-howto-write-a-block/setup_guile_test_env.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-howto-write-a-block/setup_guile_test_env.in b/gr-howto-write-a-block/setup_guile_test_env.in
index 6a2402064..3437fab44 100644
--- a/gr-howto-write-a-block/setup_guile_test_env.in
+++ b/gr-howto-write-a-block/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
@@ -46,7 +46,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
@@ -67,7 +67,7 @@ function prepend(){
}
# usage: append <path-varname> <dir>
-function append(){
+append() {
if [ $# -ne 2 ]
then
echo "$0: append needs 2 args" 1>&2
@@ -87,17 +87,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
@@ -112,7 +112,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