home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve web setup.
[config]
/
bookworm
/
setup_scripts
/
copy_dirtree.sh
diff --git
a/bookworm/setup_scripts/copy_dirtree.sh
b/bookworm/setup_scripts/copy_dirtree.sh
index c0cb9bfea68afa67b9a99f1f6a6c468f83766afc..2c385f0675249c412fa4d06709696e9622cf5782 100755
(executable)
--- a/
bookworm/setup_scripts/copy_dirtree.sh
+++ b/
bookworm/setup_scripts/copy_dirtree.sh
@@
-8,11
+8,10
@@
#
# CAUTION: This removes original files at the affected paths.
set -e
#
# CAUTION: This removes original files at the affected paths.
set -e
+. ./misc.sh
+
+expect_n_args 3 "(source root, target root, modules)" "$@"
-if [ "$#" -lt 3 ]; then
- echo 'Need arguments: source root, target root, modules.'
- false
-fi
source_root="$1"
target_root="$2"
shift 2
source_root="$1"
target_root="$2"
shift 2