tfixed a few non-POSIX things - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 72e574d65d5636dd69efa9896d807409a87dc68e
 (DIR) parent c9f35d0c264261bda96e4a04f5050dc711aeef64
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Mon, 30 Mar 2015 23:03:45 +0200
       
       fixed a few non-POSIX things
       
       Diffstat:
         M prtmk                               |       8 +++++---
         M prtup                               |       2 +-
       
       2 files changed, 6 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/prtmk b/prtmk
       t@@ -5,7 +5,9 @@
        
        PKGFILE=~/src/ports/Pkgfile
        PORTDIR=~/usr/ports
       -EDITOR=${EDITOR:vim}
       +EDITOR=${EDITOR:-vim}
       +
       +daddy="z3bra <willy at mailoo dot org>"
        
        echo_color () {
            tput bold
       t@@ -36,8 +38,8 @@ if test "$version" = "git"; then
        
            PKGFILE=${PKGFILE}-git
        else
       -    sources=${sources//$name/\$name}
       -    sources=${sources/$version/\$version}
       +    sources=$(echo $sources | "s/\$name/$name/")
       +    sources=$(echo $sources | "s/\$version/$version/")
        fi
        
        echo -n "creating port $name .. "
 (DIR) diff --git a/prtup b/prtup
       t@@ -79,4 +79,4 @@ main() {
            fi
        }
        
       -main
       +main $@