Changeset 209
- Timestamp:
- 10/04/15 22:20:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r208 r209 951 951 952 952 $prepscript .= "cd '$topdir/BUILD'\n"; 953 $tarballdir = expandmacros($tarballdir,'gp');954 953 $prepscript .= "rm -rf '$tarballdir'\n" if $deldir; 955 954 $prepscript .= "/bin/mkdir -p $tarballdir\n" if $changedir; … … 1034 1033 } elsif ($popt =~ (/^-E/) ) { 1035 1034 $noempty = 1; 1035 } elsif ($popt =~ (/^(-[^s]+)/) ) { 1036 die "Unknown \%patch option $1: $line\n"; 1036 1037 } 1037 1038 } # while (shift @pbits) … … 2025 2026 2026 2027 $macrostring =~ s|%{_builddir}|%{_topdir}/BUILD|g; 2027 # no longer a valid macro/tag2028 #$macrostring =~ s|%{buildsubdir}|$tarballdir|g;2028 # Not predefined in an eternal file; defaults to %{name}-%{version} 2029 $macrostring =~ s|%{buildsubdir}|$tarballdir|g; 2029 2030 $macrostring =~ s|%{_topdir}|$topdir|g; 2030 2031 $macrostring =~ s|%{_tmppath}|$tmpdir|g;
Note:
See TracChangeset
for help on using the changeset viewer.