summary refs log tree commit diff
path: root/pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh')
-rw-r--r--pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh b/pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh
index fbf7186ad276..cc1b125804a4 100644
--- a/pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh
+++ b/pkgs/build-support/gcc-cross-wrapper/ld-wrapper.sh
@@ -1,14 +1,14 @@
 #! @shell@ -e
 
 if test -n "$NIX_LD_WRAPPER_START_HOOK"; then
-    . "$NIX_LD_WRAPPER_START_HOOK"
+    source "$NIX_LD_WRAPPER_START_HOOK"
 fi
 
 if test -z "$NIX_GLIBC_FLAGS_SET"; then
-    . @out@/nix-support/add-flags
+    source @out@/nix-support/add-flags
 fi
 
-. @out@/nix-support/utils
+source @out@/nix-support/utils
 
 
 # Optionally filter out paths not refering to the store.
@@ -139,7 +139,7 @@ if test "$NIX_DEBUG" = "1"; then
 fi
 
 if test -n "$NIX_LD_WRAPPER_EXEC_HOOK"; then
-    . "$NIX_LD_WRAPPER_EXEC_HOOK"
+    source "$NIX_LD_WRAPPER_EXEC_HOOK"
 fi
 
 exec @ld@ ${extraBefore[@]} "${params[@]}" ${extra[@]}