Changeset f546320 for CLFS3/master.sh
- Timestamp:
- 06/03/2007 09:06:13 AM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 05760bc
- Parents:
- 350625a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS3/master.sh
r350625a rf546320 268 268 # If $pkg_tarball isn't empty, we've got a package... 269 269 if [ "$pkg_tarball" != "" ] ; then 270 # Touch timestamp file if installed files logs will be created. 271 # But only for the firt build when running iterative builds. 272 if [ "${INSTALL_LOG}" = "y" ] ; then 273 LUSER_wrt_TouchTimestamp 274 fi 270 275 LUSER_wrt_unpack "$pkg_tarball" 271 276 # If using optimizations, write the instructions … … 275 280 LUSER_wrt_RunAsUser "${file}" 276 281 # 277 [[ "$pkg_tarball" != "" ]] && LUSER_RemoveBuildDirs "${name}" 282 # Write installed files log and remove the build directory(ies) 283 # except if the package build fails. 284 if [ "$pkg_tarball" != "" ] ; then 285 LUSER_RemoveBuildDirs "${name}" 286 if [ "${INSTALL_LOG}" = "y" ] ; then 287 LUSER_wrt_LogNewFiles "$name" 288 fi 289 fi 278 290 # 279 291 # Include a touch of the target name so make can check if it's already been made. … … 331 343 # 332 344 # If $pkg_tarball isn't empty, we've got a package... 333 [[ "$pkg_tarball" != "" ]] && LUSER_wrt_unpack "$pkg_tarball" 345 if [ "$pkg_tarball" != "" ] ; then 346 LUSER_wrt_unpack "$pkg_tarball" 347 if [ "${INSTALL_LOG}" = "y" ] ; then 348 LUSER_wrt_TouchTimestamp 349 fi 350 fi 334 351 # 335 352 LUSER_wrt_RunAsUser "${file}" 336 353 # 337 [[ "$pkg_tarball" != "" ]] && LUSER_RemoveBuildDirs "${name}" 354 if [ "$pkg_tarball" != "" ] ; then 355 LUSER_RemoveBuildDirs "${name}" 356 if [ "${INSTALL_LOG}" = "y" ] ; then 357 LUSER_wrt_LogNewFiles "$name" 358 fi 359 fi 338 360 # 339 361 # Include a touch of the target name so make can check if it's already been made. … … 399 421 # 400 422 # If $pkg_tarball isn't empty, we've got a package... 401 [[ "$pkg_tarball" != "" ]] && LUSER_wrt_unpack "$pkg_tarball" 423 if [ "$pkg_tarball" != "" ] ; then 424 LUSER_wrt_unpack "$pkg_tarball" 425 if [ "${INSTALL_LOG}" = "y" ] ; then 426 LUSER_wrt_TouchTimestamp 427 fi 428 fi 402 429 # 403 430 # Select a script execution method … … 416 443 # 417 444 # Housekeeping...remove any build directory(ies) except if the package build fails. 418 [[ "$pkg_tarball" != "" ]] && LUSER_RemoveBuildDirs "${name}" 445 if [ "$pkg_tarball" != "" ] ; then 446 LUSER_RemoveBuildDirs "${name}" 447 if [ "${INSTALL_LOG}" = "y" ] ; then 448 LUSER_wrt_LogNewFiles "$name" 449 fi 450 fi 419 451 # 420 452 # Include a touch of the target name so make can check if it's already been made.
Note:
See TracChangeset
for help on using the changeset viewer.