Error in backup.sh ".config is a directory"
Created by: Quazgar
When running ./backup.sh:
patches/utils/patch_header.sh: line 25: .: ../.config: is a directory
This is caused by:
if test -e ../.config ; then
# Relative path names problematic when called
# from a different bash file as in backup.sh
. ../.config
fi
in patches/utils/patch_header.sh
Proposed fix:
if test -f ../.config ; then
. ../.config
fi
Imported comments:
By Quazgar on 2019-01-03T09:28:53.702Z
closed
By Alexander Schlemmer on 2019-01-03T09:28:53 (imported from GitLab project)
By Quazgar on 2019-01-03T09:28:53.313Z
Fixed in commit 6cdcaa4c
By Alexander Schlemmer on 2019-01-03T09:28:53 (imported from GitLab project)