billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=eb28d29bde123ff94c5c927614845f0e48ad22f4

commit eb28d29bde123ff94c5c927614845f0e48ad22f4
Author: Boris Faure <[email protected]>
Date:   Tue May 13 21:54:37 2014 +0200

    tools: fix pacman to correctly run on bash. Closes T1248
---
 tools/pacman.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/pacman.sh b/tools/pacman.sh
index 0c34e2a..836b7da 100755
--- a/tools/pacman.sh
+++ b/tools/pacman.sh
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 # ANSI Color -- use these variables to easily have different color
-#    and format output. Make sure to output the reset sequence after 
+#    and format output. Make sure to output the reset sequence after
 #    colors (f = foreground, b = background), and use the 'off'
 #    feature for anything you turn on.
 
@@ -11,7 +11,7 @@ initializeANSI()
   blackf="${esc}[30m";   redf="${esc}[31m";    greenf="${esc}[32m"
   yellowf="${esc}[33m"   bluef="${esc}[34m";   purplef="${esc}[35m"
   cyanf="${esc}[36m";    whitef="${esc}[37m"
-  
+
   blackb="${esc}[40m";   redb="${esc}[41m";    greenb="${esc}[42m"
   yellowb="${esc}[43m"   blueb="${esc}[44m";   purpleb="${esc}[45m"
   cyanb="${esc}[46m";    whiteb="${esc}[47m"
@@ -27,7 +27,7 @@ initializeANSI()
 # note in this first use that switching colors doesn't require a reset
 # first - the new color overrides the old one.
 
-clear 
+clear
 
 initializeANSI
 
@@ -39,7 +39,7 @@ cat << EOF
  ${yellowf}███████▄${reset}      ${redf}████████████${reset}  
${greenf}████████████${reset}  ${bluef}████████████${reset}  
${purplef}████████████${reset}  ${cyanf}████████████${reset}
  ${yellowf}▀█████████▄▄${reset}  ${redf}██▀██▀▀██▀██${reset}  
${greenf}██▀██▀▀██▀██${reset}  ${bluef}██▀██▀▀██▀██${reset}  
${purplef}██▀██▀▀██▀██${reset}  ${cyanf}██▀██▀▀██▀██${reset}
  ${yellowf}  ▀███████▀${reset}   ${redf}▀   ▀  ▀   ▀${reset}  ${greenf}▀   ▀  
▀   ▀${reset}  ${bluef}▀   ▀  ▀   ▀${reset}  ${purplef}▀   ▀  ▀   ▀${reset}  
${cyanf}▀   ▀  ▀   ▀${reset}
- 
+
  ${boldon}${yellowf}  ▄███████▄   ${redf}  ▄██████▄    ${greenf}  ▄██████▄    
${bluef}  ▄██████▄    ${purplef}  ▄██████▄    ${cyanf}  ▄██████▄${reset}
  ${boldon}${yellowf}▄█████████▀▀  
${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄  
${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄  
${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄  
${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄  
${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset}
  ${boldon}${yellowf}███████▀      
${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███  
${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███  
${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███  
${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███  
${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset}

-- 


Reply via email to