diff --git a/tools/mki-scripts b/tools/mki-scripts index a6a6150..1e037b2 100755 --- a/tools/mki-scripts +++ b/tools/mki-scripts @@ -49,7 +49,7 @@ export WORKDIR=/.image /.host/script.sh EOF -find "$scriptdir" -mindepth 1 -maxdepth 1 -type f | +find "$scriptdir" -mindepth 1 -maxdepth 1 -type f -o -type l | sort -n | while read script; do [ -x "$script" ] || continue