From 90037b9ee3c571a1983f569063caa7c84df60ee0 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sat, 9 May 2015 17:38:43 -0700 Subject: 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 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 -- cgit v0.10.2-6-g49f6