| Line 181... |
Line 181... |
| 181 |
}
|
181 |
}
|
| 182 |
|
182 |
|
| 183 |
#
|
183 |
#
|
| 184 |
# Sanity test
|
184 |
# Sanity test
|
| 185 |
#
|
185 |
#
|
| 186 |
ReportError ("MakeDebianPackage: Not supported on a GENERIC target") if ( $ScmPlatform eq 'GENERIC' && !($zipOnly || $tarOnly || $imageOnly ) );
|
186 |
ReportError ("MakeDebianPackage: Not supported on a GENERIC target") if ( $ScmPlatform eq 'GENERIC' && !($zipOnly || $tarOnly || $imageOnly || $directPkg) );
|
| 187 |
ReportError ("MakeDebianPackage: Script name not defined") unless ( $debianScript || $rpmScript );
|
187 |
ReportError ("MakeDebianPackage: Script name not defined") unless ( $debianScript || $rpmScript );
|
| 188 |
ReportError ("MakeDebianPackage: --Name option can only be used once") if ( $name_set > 1 );
|
188 |
ReportError ("MakeDebianPackage: --Name option can only be used once") if ( $name_set > 1 );
|
| 189 |
ReportError ("MakeDebianPackage: --Variant option can only be used once") if ( $variant_set > 1 );
|
189 |
ReportError ("MakeDebianPackage: --Variant option can only be used once") if ( $variant_set > 1 );
|
| 190 |
ReportError ("MakeDebianPackage: --VersionPrefix option can only be used once") if ( $version_prefix_set > 1 );
|
190 |
ReportError ("MakeDebianPackage: --VersionPrefix option can only be used once") if ( $version_prefix_set > 1 );
|
| 191 |
ReportError ("MakeDebianPackage: --ExtDesc option can only be used once") if ( $extdesc_set > 1 );
|
191 |
ReportError ("MakeDebianPackage: --ExtDesc option can only be used once") if ( $extdesc_set > 1 );
|