mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
Properly make directory before moving things into it.
Submitted by: pst
This commit is contained in:
parent
186d0be47e
commit
7d0db86d3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27012
@ -7,7 +7,9 @@ if [ -d ${RD}/trees/bin/usr/share/dict ]; then
|
||||
rm -rf ${RD}/trees/bin/usr/share/dict;
|
||||
fi
|
||||
|
||||
for i in airport birthtoken flowers na.phone zipcodes; do
|
||||
mkdir ${RD}/trees/bin/usr/share/misc
|
||||
|
||||
for i in airport birthtoken flowers inter.phone iso3166 na.phone zipcodes; do
|
||||
if [ -f ${RD}/trees/bin/usr/share/misc/$i ]; then
|
||||
mv ${RD}/trees/bin/usr/share/misc/$i
|
||||
${RD}/trees/dict/usr/share/misc;
|
||||
|
Loading…
Reference in New Issue
Block a user