Skip to content

Commit 2cccf79

Browse files
committed
docbook.sh: import the latest version from upstream
1 parent 23ae5e8 commit 2cccf79

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎doc/docbook.sh‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#$Id$
3-
#Copyright (c) 2012-2024 Pierre Pronchery <khorben@defora.org>
3+
#Copyright (c) 2012-2026 Pierre Pronchery <khorben@defora.org>
44
#
55
#Redistribution and use in source and binary forms, with or without
66
#modification, are permitted provided that the following conditions are met:
@@ -166,6 +166,9 @@ while [ $# -gt 0 ]; do
166166
target="$1"
167167
shift
168168

169+
#clean
170+
[ $clean -eq 0 ] || continue
171+
169172
#determine the type
170173
ext="${target##*.}"
171174
ext="${ext##.}"
@@ -192,9 +195,6 @@ while [ $# -gt 0 ]; do
192195
;;
193196
esac
194197

195-
#clean
196-
[ "$clean" -ne 0 ] && continue
197-
198198
#uninstall
199199
if [ "$uninstall" -eq 1 ]; then
200200
target="${target#$OBJDIR}"

0 commit comments

Comments
 (0)