diff options
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-x | scripts/feeds | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds index 3016eac..55c294a 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -9,7 +9,8 @@ use strict; use Cwd 'abs_path'; chdir "$FindBin::Bin/.."; -$ENV{TOPDIR}=getcwd(); +$ENV{TOPDIR} //= getcwd(); +chdir $ENV{TOPDIR}; $ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'"; $ENV{GREP_OPTIONS}=""; |