about summary refs log tree commit diff
path: root/nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh')
-rw-r--r--nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh b/nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh
index 091c9044d93f..6b8ec441ca7f 100644
--- a/nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh
+++ b/nixpkgs/pkgs/stdenv/cygwin/rebase-i686.sh
@@ -1,7 +1,7 @@
 fixupOutputHooks+=(_cygwinFixAutoImageBase)
 
 _cygwinFixAutoImageBase() {
-    if [ "$dontRebase" == 1 ] || [ ! -d "$prefix" ]; then
+    if [ "${dontRebase-}" == 1 ] || [ ! -d "$prefix" ]; then
         return
     fi
     find "$prefix" -name "*.dll" -type f | while read DLL; do