]> Cypherpunks repositories - bass.git/commitdiff
Follow symlinks
authorSergey Matveev <stargrave@stargrave.org>
Fri, 14 Jun 2024 12:41:05 +0000 (15:41 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 14 Jun 2024 12:41:05 +0000 (15:41 +0300)
build/pkg/mk-arch

index fd5ddff1645f27bafbcdf71dfd805396d26d8ce4d39116d04f935accf26fc70e..f408d89386bf0ded87433ec4062218342234700d97eb2b5342b16246523546e8 100755 (executable)
@@ -10,10 +10,10 @@ mkdir -p "$BASS_ROOT"/build/pkg/$ARCH
 cd "$BASS_ROOT"/build/pkg/$ARCH
 (
     cd "$BASS_ROOT"/build/skel
-    find . -type d -and -not -name .redo
+    find -L . -type d -and -not -name .redo
 ) | xargs mkdir -p
 cd "$BASS_ROOT"/build/skel
-find . -type f -name "*.do" -and -not -path "./.redo/*" | while read fn ; do
+find -L . -type f -name "*.do" -and -not -path "./.redo/*" | while read fn ; do
     if [ -r "$BASS_ROOT"/build/pkg/$ARCH/$fn ] ; then continue ; fi
     echo $fn
     ln -f $fn "$BASS_ROOT"/build/pkg/$ARCH/$fn