Check-in [208359bb45]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix @exec being executed and fix pax(1) typo
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 208359bb45a1a8e357c73aff76f47d618904e353
User & Date: bdrewery 2012-06-21 05:24:58
Context
2012-06-24
21:11
Sync with latest from ports check-in: daebc02d22 user: bapt tags: trunk
2012-06-21
05:24
Fix @exec being executed and fix pax(1) typo check-in: 208359bb45 user: bdrewery tags: trunk
2012-06-20
06:22
in all cases @exec can safely be run as post-install at once.

No need to split all the execution check-in: d0812f289d user: bapt tags: trunk

Changes

Changes to ports/Tools/scripts/sync_from_stage.sh.

    45     45   			;;
    46     46   		@comment*) ;;
    47     47   		@cwd) tmpprefix=${PREFIX} ;;
    48     48   		@cwd*) tmpprefix=${line#* } ;;
    49     49   		@exec*)
    50     50   			dirname=${tmplastplist%/*}
    51     51   			basename=${tmplastplist##*/}
    52         -			echo ${line} | sed -e "s,%D,${PREFIX},g" \
           52  +			echo ${line#@exec *} | sed -e "s,%D,${PREFIX},g" \
    53     53   			    -e "s,%F,${tmplastplist},g" \
    54     54   			    -e "s,%B,${tmpprefix}/${dirname},g" \
    55     55   			    -e "s,%f,${basename},g" \
    56     56   			    >> ${EXECLIST}
    57     57   			;;
    58     58   		@mode) unset tmpmode ;;
    59     59   		@mode*) tmpmode=${line#* } ;;
................................................................................
    77     77   	echo "=====> Some files or directory from the plist cannot be found:"
    78     78   	for err in ${ERRS}; do
    79     79   		echo $err
    80     80   	done
    81     81   	exit 1
    82     82   
    83     83   fi
    84         -cat ${PAXLIST} | px -p e -drw /
           84  +cat ${PAXLIST} | pax -p e -drw /
    85     85   cat ${EXECLIST} | sh
    86     86   exit 0