Changeset 561
- Timestamp:
- 12/16/2011 18:11:35 (5 months ago)
- Location:
- branches/confman-1.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
abspath.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/confman-1.9
- Property svn:mergeinfo changed
/trunk merged: 518,520-521,533
- Property svn:mergeinfo changed
-
branches/confman-1.9/abspath.in
r329 r561 39 39 echo "$dir" 40 40 else 41 dir=`cd $(dirname $file) >/dev/null ; echo \$PWD` 42 echo "$dir/$(basename "$file")" 41 realpath="$file" 42 imagpath="" 43 while ! [ -d $realpath ]; do 44 imagpath="${imagpath}/${realpath##*/}" 45 realpath="${realpath%/*}" 46 done 47 echo "$(abspath $realpath)${imagpath}" 43 48 fi 44 49 }
Note: See TracChangeset
for help on using the changeset viewer.
