Build: fixed location of latest/ directory

This commit is contained in:
Andrew Tridgell 2013-03-10 22:00:03 +11:00
parent 9885cc7ed1
commit cb414fb652

View File

@ -22,7 +22,7 @@ copyit() {
file="$1"
dir="$2"
bname=$(basename $dir)
ldir=$(dirname $(dirname $dir))/latest/$bname
ldir=$(dirname $(dirname $(dirname $dir)))/latest/$bname
mkdir -p "$dir"
/bin/cp "$file" "$dir"
mkdir -p "$ldir"