summaryrefslogtreecommitdiff
path: root/scripts/showSamples.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-05-10 00:38:43 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-05-10 00:42:13 (GMT)
commit90037b9ee3c571a1983f569063caa7c84df60ee0 (patch)
treec2324bf44312f14a4edcc2ec730b8f030ebf6c25 /scripts/showSamples.sh
parentfa769c32bb3dc8123ef95c0980504b6c826d531d (diff)
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>
Diffstat (limited to 'scripts/showSamples.sh')
-rwxr-xr-xscripts/showSamples.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh
index ccb8382..011c75a 100755
--- a/scripts/showSamples.sh
+++ b/scripts/showSamples.sh
@@ -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