about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh')
-rw-r--r--nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh b/nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh
index 6047c0826430..4291da80576d 100644
--- a/nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh
+++ b/nixpkgs/pkgs/applications/misc/adobe-reader/builder.sh
@@ -1,4 +1,4 @@
-if [ -e .attrs.sh ]; then source .attrs.sh; fi
+if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
 source $stdenv/setup
 
 echo "unpacking $src..."