diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-22 13:28:28 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-22 13:28:28 +0100 |
commit | 052c0cfcfff3fdd73636bffd77c2cc4fc07d7e47 (patch) | |
tree | 8873dab51ed5de77dfa7cdde7e984ba73c22ea46 /build_rootfs.sh | |
parent | 3ec9b5d8251c362f81df2e3734e4aff14f2183bc (diff) |
Add template sample
Diffstat (limited to 'build_rootfs.sh')
-rwxr-xr-x | build_rootfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_rootfs.sh b/build_rootfs.sh index fee62fc..91f7efe 100755 --- a/build_rootfs.sh +++ b/build_rootfs.sh @@ -40,7 +40,7 @@ add_file() { dst=$dst_dir/$file if test -d $src; then - test -d $dst || mkdir $dst + test -d $dst || mkdir -p $dst elif test -f $src; then cp $src $dst foo=$(dirname $file) |