Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
BSD find puts in extra slashes if you leave a trailing slash in the a…
Browse files Browse the repository at this point in the history
…rgument

this breaks just below when we use cut on /
  • Loading branch information
embray committed Nov 7, 2018
1 parent 3bedcd6 commit 79de3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap
Expand Up @@ -31,7 +31,7 @@ CONFVERSION=`cat $PKG/package-version.txt`
bootstrap () {
rm -f m4/sage_spkg_configures.m4
spkg_configures=""
for filename in $(find build/pkgs/ -type f -name spkg-configure.m4); do
for filename in $(find build/pkgs -type f -name spkg-configure.m4); do
pkgname="$(echo $filename | cut -d/ -f3)"
echo "m4_sinclude([$filename])" >> m4/sage_spkg_configures.m4
spkg_configures="$spkg_configures
Expand Down

0 comments on commit 79de3bd

Please sign in to comment.