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

fi
cat ${PAXLIST} | px -p e -drw /
cat ${EXECLIST} | sh
exit 0







|







 







|


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

fi
cat ${PAXLIST} | pax -p e -drw /
cat ${EXECLIST} | sh
exit 0