| Line 169... |
Line 169... |
| 169 |
}
|
169 |
}
|
| 170 |
|
170 |
|
| 171 |
#
|
171 |
#
|
| 172 |
# Sanity test
|
172 |
# Sanity test
|
| 173 |
#
|
173 |
#
|
| 174 |
ReportError ("MakeDebianPackage: Not supported on a GENERIC target") if ( $ScmPlatform eq 'GENERIC' );
|
174 |
ReportError ("MakeDebianPackage: Not supported on a GENERIC target") if ( $ScmPlatform eq 'GENERIC' && !($zipOnly || $tarOnly ) );
|
| 175 |
ReportError ("MakeDebianPackage: Script name not defined") unless ( $debianScript || $rpmScript );
|
175 |
ReportError ("MakeDebianPackage: Script name not defined") unless ( $debianScript || $rpmScript );
|
| 176 |
ReportError ("MakeDebianPackage: --Name option can only be used once") if ( $name_set > 1 );
|
176 |
ReportError ("MakeDebianPackage: --Name option can only be used once") if ( $name_set > 1 );
|
| 177 |
ReportError ("MakeDebianPackage: --Variant option can only be used once") if ( $variant_set > 1 );
|
177 |
ReportError ("MakeDebianPackage: --Variant option can only be used once") if ( $variant_set > 1 );
|
| 178 |
ReportError ("MakeDebianPackage: --VersionPrefix option can only be used once") if ( $version_prefix_set > 1 );
|
178 |
ReportError ("MakeDebianPackage: --VersionPrefix option can only be used once") if ( $version_prefix_set > 1 );
|
| 179 |
ReportError ("MakeDebianPackage: --ExtDesc option can only be used once") if ( $extdesc_set > 1 );
|
179 |
ReportError ("MakeDebianPackage: --ExtDesc option can only be used once") if ( $extdesc_set > 1 );
|