Changeset 1464 in svn for autobuild/scripts/autobuild


Ignore:
Timestamp:
2013-11-09T17:44:07+01:00 (21 months ago)
Author:
Xuefer
Message:

strip ext prefix for ext versions dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • autobuild/scripts/autobuild

    r1425 r1464  
    2929
    3030getExtVersions() { # {{{1
    31     local ext=$1
    32     local len=${#ext}
    33     local dir
    34     ((len=len+1))
    35     getSubdirs "$topdir/$1" | while read dir; do
    36         echo ${dir:$len}
    37     done
     31    getSubdirs "$topdir/$1"
    3832}
    3933
     
    6256loadExtVersion() { # {{{1
    6357    extVersion="$1"
    64     extDirVersioned="$topdir/$ext/$ext-$extVersion"
     58    extDirVersioned="$topdir/$ext/$extVersion"
    6559    if [[ ! -d $extDirVersioned ]]; then
    6660        die "$extDirVersioned not found"
Note: See TracChangeset for help on using the changeset viewer.