Skip to content

Commit

Permalink
Treat 0 and - as false only if no symbol follows
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed May 26, 2017
1 parent 9ce2869 commit 2a0f336
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# ChangeLog for squash_dir

*squash_dir-13.11
Martin Väth <martin at mvath.de>:
- Treat 0 and - as false only if no symbol follows

*squash_dir-13.10
Martin Väth <martin at mvath.de>:
- Fix completion for >=zsh-5.3

*squash_dir-13.9
Martin Väth <martin at mvath.de>:
- Fix getopts usage

*squash_dir-13.8
Martin Väth <martin at mvath.de>:
- Remove redundant sh quoting

*squash_dir-13.7
Martin Väth <martin at mvath.de>:
- Declare project as unmaintained

*squash_dir-13.6
Martin Väth <martin at mvath.de>:
- Update emerge.sh to current portageq
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ DIR_CHANGE
variable empty.

RM_DIR_CHANGE
If this variable is true (not empty, not 0 and does not start
If this variable is true (not empty, not 0 or - and does not start
with f,F,n,N), the script will remove DIR_CHANGE at stopping.
If it contains p or P also empty parents are removed.
RM_DIR_CHANGE defaults to "parents" if the temporary name
Expand Down
2 changes: 1 addition & 1 deletion init.d/squash_dir
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ MvSqfsOld() {

Rmdir() {
case ${1:-0} in
[0nNfF]*)
[nNfF]*|0|-)
return 0;;
*p*)
rmdirparent=:;;
Expand Down

0 comments on commit 2a0f336

Please sign in to comment.