commit e56f618809d2f727bff45ef07070023d1cce521e parent 05e9ff13c6169203ba1e53103d92e09d579f5207 Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Tue, 26 Jul 2022 02:45:03 +0200 Less ambiguous slashes in rsync arguments Diffstat:
M | postinstall | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/postinstall b/postinstall @@ -118,10 +118,10 @@ setup_fileset() { --filter='merge conf/postinstall.rsfilter' --filter='- *' ) - $rsync --delete-excluded --log-file $SETUP_DIR/rsync.log.get / $SETUP_DIR/files.pre || return $? + $rsync --delete-excluded --log-file $SETUP_DIR/rsync.log.get / $SETUP_DIR/files.pre/ || return $? cp -a --reflink=auto $SETUP_DIR/files.pre $SETUP_DIR/files.post || return $? ./command/fsapply $SETUP_DIR/files.post $PWD/conf/postinstall.fileset || exit $? - $rsync --log-file $SETUP_DIR/rsync.log.put $SETUP_DIR/files.post / --backup --backup-dir=$SETUP_DIR/files.bak || return $? + $rsync --log-file $SETUP_DIR/rsync.log.put $SETUP_DIR/files.post/ / --backup --backup-dir=$SETUP_DIR/files.bak || return $? } postinstall() {