summary refs log tree commit diff
path: root/pkgs/build-support/gcc-wrapper/add-flags
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-10 14:25:23 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-11 22:26:39 +0200
commit02122ccfd0f4c4156c38662622831e7b6b98dbc8 (patch)
tree3f1329f3a34a44019027710719d9cec8a98c3251 /pkgs/build-support/gcc-wrapper/add-flags
parentffbdcbfe29ea1076e87a321f47df39cd1ddc4d6b (diff)
downloadnixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.tar
nixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.tar.gz
nixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.tar.bz2
nixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.tar.lz
nixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.tar.xz
nixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.tar.zst
nixpkgs-02122ccfd0f4c4156c38662622831e7b6b98dbc8.zip
gcc-wrapper: Style fix
Diffstat (limited to 'pkgs/build-support/gcc-wrapper/add-flags')
-rw-r--r--pkgs/build-support/gcc-wrapper/add-flags12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/build-support/gcc-wrapper/add-flags b/pkgs/build-support/gcc-wrapper/add-flags
index 26e536f6d57..ede1a868303 100644
--- a/pkgs/build-support/gcc-wrapper/add-flags
+++ b/pkgs/build-support/gcc-wrapper/add-flags
@@ -1,27 +1,27 @@
 # `-B@out@/bin' forces gcc to use ld-wrapper.sh when calling ld.
 export NIX_CFLAGS_COMPILE="-B@out@/bin/ $NIX_CFLAGS_COMPILE"
 
-if test -e @out@/nix-support/libc-cflags; then
+if [ -e @out@/nix-support/libc-cflags ]; then
     export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE"
 fi
 
-if test -e @out@/nix-support/gcc-cflags; then
+if [ -e @out@/nix-support/gcc-cflags ]; then
     export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/gcc-cflags) $NIX_CFLAGS_COMPILE"
 fi
 
-if test -e @out@/nix-support/gnat-cflags; then
+if [ -e @out@/nix-support/gnat-cflags ]; then
     export NIX_GNATFLAGS_COMPILE="$(cat @out@/nix-support/gnat-cflags) $NIX_GNATFLAGS_COMPILE"
 fi
 
-if test -e @out@/nix-support/libc-ldflags; then
+if [ -e @out@/nix-support/libc-ldflags ]; then
     export NIX_LDFLAGS="$NIX_LDFLAGS $(cat @out@/nix-support/libc-ldflags)"
 fi
 
-if test -e @out@/nix-support/gcc-ldflags; then
+if [ -e @out@/nix-support/gcc-ldflags ]; then
     export NIX_LDFLAGS="$NIX_LDFLAGS $(cat @out@/nix-support/gcc-ldflags)"
 fi
 
-if test -e @out@/nix-support/libc-ldflags-before; then
+if [ -e @out@/nix-support/libc-ldflags-before ]; then
     export NIX_LDFLAGS_BEFORE="$(cat @out@/nix-support/libc-ldflags-before) $NIX_LDFLAGS_BEFORE"
 fi