summaryrefslogtreecommitdiff
path: root/functions/cache.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-15 17:17:48 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commit999fa9df2700363f454d9ebcfe5686dc0ab07325 (patch)
treeabd19c7d1f70ab70dc24e034c658a4e8699207c0 /functions/cache.sh
parent7e5c3585b8da01782e6d55af2b7fb9b722a76bd6 (diff)
downloadvyos-live-build-999fa9df2700363f454d9ebcfe5686dc0ab07325.tar.gz
vyos-live-build-999fa9df2700363f454d9ebcfe5686dc0ab07325.zip
Consistenly using short options rather than long options in function files.
Diffstat (limited to 'functions/cache.sh')
-rwxr-xr-xfunctions/cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/cache.sh b/functions/cache.sh
index 1b043681d..5493471a6 100755
--- a/functions/cache.sh
+++ b/functions/cache.sh
@@ -48,7 +48,7 @@ Save_cache ()
if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ]
then
# with hardlinks
- cp --force -l chroot/var/cache/apt/archives/*.deb "${DIRECTORY}"
+ cp -fl chroot/var/cache/apt/archives/*.deb "${DIRECTORY}"
else
# without hardlinks
mv -f chroot/var/cache/apt/archives/*.deb "${DIRECTORY}"