소스 검색

Dpkg::BuildProfiles: Initialize $cache_profiles when setting them

We should consider the value being cached when we set it manually.
Guillem Jover 11 년 전
부모
커밋
d633338e57
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      scripts/Dpkg/BuildProfiles.pm

+ 1 - 0
scripts/Dpkg/BuildProfiles.pm

@@ -77,6 +77,7 @@ the environment variable B<DEB_BUILD_PROFILES>.
 sub set_build_profiles {
     my (@profiles) = @_;
 
+    $cache_profiles = 1;
     @build_profiles = @profiles;
     Dpkg::BuildEnv::set('DEB_BUILD_PROFILES', join ' ', @profiles);
 }