summaryrefslogtreecommitdiff
path: root/scripts/build/installer_debian-installer
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-08-10 21:45:00 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2015-08-10 21:45:00 +0200
commit2dcb4dc06ea2b1a758f30c7d16723929e659f855 (patch)
tree9fa57374ddc87efa976d114e2dc0e9b700d7a4cc /scripts/build/installer_debian-installer
parent421419c7fc96df18c422102a52879dd6860725a6 (diff)
downloadvyos-live-build-2dcb4dc06ea2b1a758f30c7d16723929e659f855.tar.gz
vyos-live-build-2dcb4dc06ea2b1a758f30c7d16723929e659f855.zip
Updating stat calls to also give the right result in container setups, thanks to Kristian Klausen <klausenbusk@hotmail.com> (Closes: #789300).
Diffstat (limited to 'scripts/build/installer_debian-installer')
-rwxr-xr-xscripts/build/installer_debian-installer2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer
index 5445753da..b9f44b5d8 100755
--- a/scripts/build/installer_debian-installer
+++ b/scripts/build/installer_debian-installer
@@ -224,7 +224,7 @@ Download_file () {
fi
fi
- if [ "$(stat --printf %d "${_LB_CACHE_DIR}")" = "$(stat --printf %d ./)" ]
+ if [ "$(stat --printf %d "${_LB_CACHE_DIR}/")" = "$(stat --printf %d ./)" ]
then
CP_OPTIONS="-l"
fi