mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-17 10:19:45 +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)
|
canadian)
|
||||||
printf "| ''"
|
printf "| ''"
|
||||||
printf "${sample}" |sed -r -e 's/.*,//'
|
printf "${sample}" |${sed} -r -e 's/.*,//'
|
||||||
printf "'' | ${CT_HOST} "
|
printf "'' | ${CT_HOST} "
|
||||||
;;
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
@ -149,7 +149,7 @@ dump_single_sample() {
|
|||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
sample_updated="$( git log -n1 --pretty=format:'%ci' "${sample_top}/samples/${sample}" \
|
sample_updated="$( git log -n1 --pretty=format:'%ci' "${sample_top}/samples/${sample}" \
|
||||||
|awk '{ print $1; }' )"
|
|${awk} '{ print $1; }' )"
|
||||||
printf "| ${sample_updated} "
|
printf "| ${sample_updated} "
|
||||||
echo "|"
|
echo "|"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user