Changeset 15537d5
- Timestamp:
- 04/28/2006 04:53:14 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 041bc01
- Parents:
- d9a53e0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rd9a53e0 r15537d5 132 132 # If $vrs isn't empty, we've got a package... 133 133 # 134 [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" && echo -e '\ttrue' >> $MKFILE.tmp134 [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" 135 135 # 136 136 wrt_run_as_su "${this_script}" "${file}" … … 184 184 # Insert instructions for unpacking the package and to set the PKGDIR variable. 185 185 # 186 [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" && echo -e '\ttrue' >> $MKFILE.tmp186 [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" 187 187 # 188 188 wrt_run_as_su "${this_script}" "${file}" … … 255 255 # Insert instructions for unpacking the package and changing directories 256 256 # 257 [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" && echo -e '\ttrue' >> $MKFILE.tmp257 [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" 258 258 # 259 259 # Select a script execution method … … 323 323 if [ "$vrs" != "" ] ; then 324 324 case $this_script in 325 *util-linux) wrt_unpack "$name-$vrs.tar.*" 326 echo -e '\ttrue' >> $MKFILE.tmp 327 ;; 328 *) wrt_unpack2 "$name-$vrs.tar.*" 329 ;; 325 *util-linux) wrt_unpack "$name-$vrs.tar.*" ;; 326 *) wrt_unpack2 "$name-$vrs.tar.*" ;; 330 327 esac 331 328 fi -
HLFS/master.sh
rd9a53e0 r15537d5 236 236 case $this_script in 237 237 *binutils* ) # Dump the path to sources directory for later removal 238 echo -e '\techo "$(MOUNT_PT)$(SRC)/$$ROOT" >> sources-dir' >> $MKFILE.tmp 238 ( 239 cat << EOF 240 @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\ 241 echo "\$(MOUNT_PT)\$(SRC)/\$\$ROOT" >> sources-dir 242 EOF 243 ) >> $MKFILE.tmp 239 244 ;; 240 245 *adjusting* ) # For the Adjusting phase we must to cd to the binutils-build directory. 241 246 echo -e '\t@echo "export PKGDIR=$(MOUNT_PT)$(SRC)/binutils-build" > envars' >> $MKFILE.tmp 242 ;;243 * ) # Everything else, add a true statment so we don't confuse make244 echo -e '\ttrue' >> $MKFILE.tmp245 247 ;; 246 248 esac -
LFS/master.sh
rd9a53e0 r15537d5 113 113 # Insert instructions for unpacking the package and to set the PKGDIR variable. 114 114 wrt_unpack "$FILE" 115 echo -e '\ttrue' >> $MKFILE.tmp116 115 fi 117 116 -
common/common-functions
rd9a53e0 r15537d5 217 217 @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\ 218 218 echo "export PKGDIR=\$(MOUNT_PT)\$(SRC)/\$\$ROOT" > envars && \\ 219 chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT && \\219 chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT 220 220 EOF 221 221 ) >> $MKFILE.tmp
Note:
See TracChangeset
for help on using the changeset viewer.