summaryrefslogtreecommitdiffstats
path: root/src/oh-installfiles
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-21 13:49:22 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-21 13:49:22 (EST)
commit3322feeae7d9bd6fc5b79f0d8a5ebb96e339009e (patch)
tree6e401ca2141b2f7c0d34ce6aaa25cd69fe559de3 /src/oh-installfiles
parent464f39e672d466abc2d4bca1396468d8b76a462b (diff)
Rename data directories in work area.
Also, fix an 'rm' command in opkbuild.
Diffstat (limited to 'src/oh-installfiles')
-rw-r--r--src/oh-installfiles4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oh-installfiles b/src/oh-installfiles
index ebd3f38..2297e53 100644
--- a/src/oh-installfiles
+++ b/src/oh-installfiles
@@ -44,10 +44,10 @@ while [ ${#} -gt 0 ]; do
# Ensure that the full directory path of the pattern exists in the
# package staging area.
pattern_dir=$(dirname ${pattern})
- mkdir -p ${1}/${pattern_dir}
+ mkdir -p ${1}.data/${pattern_dir}
# Move any matching files from the installation destination to the
# package staging area.
- mv dest/${pattern} ${1}/${pattern_dir}
+ mv dest/${pattern} ${1}.data/${pattern_dir}
done < ../${1}.pkg/install
shift
done