mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 21:33:08 +00:00
showSamples: Update to use variables from paths.sh
This change modifies the use of sed and awk to use the variables set by paths.sh during the installation process of crosstool-NG. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
fa769c32bb
commit
90037b9ee3
@ -103,7 +103,7 @@ dump_single_sample() {
|
||||
;;
|
||||
canadian)
|
||||
printf "| ''"
|
||||
printf "${sample}" |sed -r -e 's/.*,//'
|
||||
printf "${sample}" |${sed} -r -e 's/.*,//'
|
||||
printf "'' | ${CT_HOST} "
|
||||
;;
|
||||
*) ;;
|
||||
@ -149,7 +149,7 @@ dump_single_sample() {
|
||||
fi
|
||||
)
|
||||
sample_updated="$( git log -n1 --pretty=format:'%ci' "${sample_top}/samples/${sample}" \
|
||||
|awk '{ print $1; }' )"
|
||||
|${awk} '{ print $1; }' )"
|
||||
printf "| ${sample_updated} "
|
||||
echo "|"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user