From 3322feeae7d9bd6fc5b79f0d8a5ebb96e339009e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 21 Jan 2012 13:49:22 -0500 Subject: Rename data directories in work area. Also, fix an 'rm' command in opkbuild. --- (limited to 'src/oh-installfiles') 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 -- cgit v0.9.1