Apparently symlink-tree has not been used in quite some time as it
fails to symlink the always required config dir
Also, if we pulled from git but .git is missing we get
many error messages on the symlinked tree without this
patch (which symlinks .git, if present)
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
FILES="
BSDmakefile
+ config
Config.in
LICENSE
Makefile
toolchain
tools"
+OPTIONAL_FILES="
+ .git"
+
if [ -f feeds.conf ] ; then
FILES="$FILES feeds.conf"
fi
}
ln -s "$PWD/$file" "$1/"
done
+for file in $OPTIONAL_FILES; do
+ [ -e "$PWD/$file" ] && ln -s "$PWD/$file" "$1/"
+done
exit 0