Full path must be used.

This commit is contained in:
Jeffrey Townsend
2016-07-29 15:29:47 -07:00
parent c21e76ab0b
commit d23e8e1ace

View File

@@ -194,7 +194,7 @@ if test "${mode_install}${mode_overlay}"; then
mkdir -p "$destdir/etc/onl"
for thing in /etc/onl/*; do
if test $thing != "sysconfig"; then
if test $thing != "/etc/onl/sysconfig"; then
cp -R $thing "$destdir/etc/onl/."
fi
done
@@ -209,7 +209,7 @@ if test "$mode_record"; then
vdestdir="$destdir/etc/onl/upgrade/swi"
else
vdestdir="$destdir/etc/onl/rootfs"
fi
fi
# If there are SWI version file(s) put them in /etc/onl
if test ! -f "$vdestdir/version"; then