-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set TARGETDIR in config by default but compute a sane default v…
…alue The default value is determined as follows: - Use $TARGETDIR if set in the configuration file. - Else use $XDG_RUNTIME_DIR/$UID if it exists. - Else use /run/user/$UID if it exists. - Else use $TMPDIR if it exists. - Else use /tmp/. Requires new runtime dependency libfile-slurp-perl. For coverage computation, the test suite is run twice, once with and once without $TMPDIR and $XDG_RUNTIME_DIR being set. Closes: #780387
- Loading branch information
Showing
6 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
# | ||
# Parsed by Config::File | ||
|
||
TARGETDIR=/tmp | ||
#TARGETDIR=/tmp | ||
FILELAYOUT='.unburden-%u/%s' | ||
#DEBUG= |