annotate src/opusfile-0.9/install-sh @ 169:223a55898ab9 tip default

Add null config files
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 02 Mar 2020 14:03:47 +0000
parents 4664ac0c1032
children
rev   line source
cannam@154 1 #!/bin/sh
cannam@154 2 # install - install a program, script, or datafile
cannam@154 3
cannam@154 4 scriptversion=2013-12-25.23; # UTC
cannam@154 5
cannam@154 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was
cannam@154 7 # later released in X11R6 (xc/config/util/install.sh) with the
cannam@154 8 # following copyright and license.
cannam@154 9 #
cannam@154 10 # Copyright (C) 1994 X Consortium
cannam@154 11 #
cannam@154 12 # Permission is hereby granted, free of charge, to any person obtaining a copy
cannam@154 13 # of this software and associated documentation files (the "Software"), to
cannam@154 14 # deal in the Software without restriction, including without limitation the
cannam@154 15 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
cannam@154 16 # sell copies of the Software, and to permit persons to whom the Software is
cannam@154 17 # furnished to do so, subject to the following conditions:
cannam@154 18 #
cannam@154 19 # The above copyright notice and this permission notice shall be included in
cannam@154 20 # all copies or substantial portions of the Software.
cannam@154 21 #
cannam@154 22 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
cannam@154 23 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
cannam@154 24 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
cannam@154 25 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
cannam@154 26 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
cannam@154 27 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
cannam@154 28 #
cannam@154 29 # Except as contained in this notice, the name of the X Consortium shall not
cannam@154 30 # be used in advertising or otherwise to promote the sale, use or other deal-
cannam@154 31 # ings in this Software without prior written authorization from the X Consor-
cannam@154 32 # tium.
cannam@154 33 #
cannam@154 34 #
cannam@154 35 # FSF changes to this file are in the public domain.
cannam@154 36 #
cannam@154 37 # Calling this script install-sh is preferred over install.sh, to prevent
cannam@154 38 # 'make' implicit rules from creating a file called install from it
cannam@154 39 # when there is no Makefile.
cannam@154 40 #
cannam@154 41 # This script is compatible with the BSD install script, but was written
cannam@154 42 # from scratch.
cannam@154 43
cannam@154 44 tab=' '
cannam@154 45 nl='
cannam@154 46 '
cannam@154 47 IFS=" $tab$nl"
cannam@154 48
cannam@154 49 # Set DOITPROG to "echo" to test this script.
cannam@154 50
cannam@154 51 doit=${DOITPROG-}
cannam@154 52 doit_exec=${doit:-exec}
cannam@154 53
cannam@154 54 # Put in absolute file names if you don't have them in your path;
cannam@154 55 # or use environment vars.
cannam@154 56
cannam@154 57 chgrpprog=${CHGRPPROG-chgrp}
cannam@154 58 chmodprog=${CHMODPROG-chmod}
cannam@154 59 chownprog=${CHOWNPROG-chown}
cannam@154 60 cmpprog=${CMPPROG-cmp}
cannam@154 61 cpprog=${CPPROG-cp}
cannam@154 62 mkdirprog=${MKDIRPROG-mkdir}
cannam@154 63 mvprog=${MVPROG-mv}
cannam@154 64 rmprog=${RMPROG-rm}
cannam@154 65 stripprog=${STRIPPROG-strip}
cannam@154 66
cannam@154 67 posix_mkdir=
cannam@154 68
cannam@154 69 # Desired mode of installed file.
cannam@154 70 mode=0755
cannam@154 71
cannam@154 72 chgrpcmd=
cannam@154 73 chmodcmd=$chmodprog
cannam@154 74 chowncmd=
cannam@154 75 mvcmd=$mvprog
cannam@154 76 rmcmd="$rmprog -f"
cannam@154 77 stripcmd=
cannam@154 78
cannam@154 79 src=
cannam@154 80 dst=
cannam@154 81 dir_arg=
cannam@154 82 dst_arg=
cannam@154 83
cannam@154 84 copy_on_change=false
cannam@154 85 is_target_a_directory=possibly
cannam@154 86
cannam@154 87 usage="\
cannam@154 88 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
cannam@154 89 or: $0 [OPTION]... SRCFILES... DIRECTORY
cannam@154 90 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
cannam@154 91 or: $0 [OPTION]... -d DIRECTORIES...
cannam@154 92
cannam@154 93 In the 1st form, copy SRCFILE to DSTFILE.
cannam@154 94 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
cannam@154 95 In the 4th, create DIRECTORIES.
cannam@154 96
cannam@154 97 Options:
cannam@154 98 --help display this help and exit.
cannam@154 99 --version display version info and exit.
cannam@154 100
cannam@154 101 -c (ignored)
cannam@154 102 -C install only if different (preserve the last data modification time)
cannam@154 103 -d create directories instead of installing files.
cannam@154 104 -g GROUP $chgrpprog installed files to GROUP.
cannam@154 105 -m MODE $chmodprog installed files to MODE.
cannam@154 106 -o USER $chownprog installed files to USER.
cannam@154 107 -s $stripprog installed files.
cannam@154 108 -t DIRECTORY install into DIRECTORY.
cannam@154 109 -T report an error if DSTFILE is a directory.
cannam@154 110
cannam@154 111 Environment variables override the default commands:
cannam@154 112 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
cannam@154 113 RMPROG STRIPPROG
cannam@154 114 "
cannam@154 115
cannam@154 116 while test $# -ne 0; do
cannam@154 117 case $1 in
cannam@154 118 -c) ;;
cannam@154 119
cannam@154 120 -C) copy_on_change=true;;
cannam@154 121
cannam@154 122 -d) dir_arg=true;;
cannam@154 123
cannam@154 124 -g) chgrpcmd="$chgrpprog $2"
cannam@154 125 shift;;
cannam@154 126
cannam@154 127 --help) echo "$usage"; exit $?;;
cannam@154 128
cannam@154 129 -m) mode=$2
cannam@154 130 case $mode in
cannam@154 131 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
cannam@154 132 echo "$0: invalid mode: $mode" >&2
cannam@154 133 exit 1;;
cannam@154 134 esac
cannam@154 135 shift;;
cannam@154 136
cannam@154 137 -o) chowncmd="$chownprog $2"
cannam@154 138 shift;;
cannam@154 139
cannam@154 140 -s) stripcmd=$stripprog;;
cannam@154 141
cannam@154 142 -t)
cannam@154 143 is_target_a_directory=always
cannam@154 144 dst_arg=$2
cannam@154 145 # Protect names problematic for 'test' and other utilities.
cannam@154 146 case $dst_arg in
cannam@154 147 -* | [=\(\)!]) dst_arg=./$dst_arg;;
cannam@154 148 esac
cannam@154 149 shift;;
cannam@154 150
cannam@154 151 -T) is_target_a_directory=never;;
cannam@154 152
cannam@154 153 --version) echo "$0 $scriptversion"; exit $?;;
cannam@154 154
cannam@154 155 --) shift
cannam@154 156 break;;
cannam@154 157
cannam@154 158 -*) echo "$0: invalid option: $1" >&2
cannam@154 159 exit 1;;
cannam@154 160
cannam@154 161 *) break;;
cannam@154 162 esac
cannam@154 163 shift
cannam@154 164 done
cannam@154 165
cannam@154 166 # We allow the use of options -d and -T together, by making -d
cannam@154 167 # take the precedence; this is for compatibility with GNU install.
cannam@154 168
cannam@154 169 if test -n "$dir_arg"; then
cannam@154 170 if test -n "$dst_arg"; then
cannam@154 171 echo "$0: target directory not allowed when installing a directory." >&2
cannam@154 172 exit 1
cannam@154 173 fi
cannam@154 174 fi
cannam@154 175
cannam@154 176 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
cannam@154 177 # When -d is used, all remaining arguments are directories to create.
cannam@154 178 # When -t is used, the destination is already specified.
cannam@154 179 # Otherwise, the last argument is the destination. Remove it from $@.
cannam@154 180 for arg
cannam@154 181 do
cannam@154 182 if test -n "$dst_arg"; then
cannam@154 183 # $@ is not empty: it contains at least $arg.
cannam@154 184 set fnord "$@" "$dst_arg"
cannam@154 185 shift # fnord
cannam@154 186 fi
cannam@154 187 shift # arg
cannam@154 188 dst_arg=$arg
cannam@154 189 # Protect names problematic for 'test' and other utilities.
cannam@154 190 case $dst_arg in
cannam@154 191 -* | [=\(\)!]) dst_arg=./$dst_arg;;
cannam@154 192 esac
cannam@154 193 done
cannam@154 194 fi
cannam@154 195
cannam@154 196 if test $# -eq 0; then
cannam@154 197 if test -z "$dir_arg"; then
cannam@154 198 echo "$0: no input file specified." >&2
cannam@154 199 exit 1
cannam@154 200 fi
cannam@154 201 # It's OK to call 'install-sh -d' without argument.
cannam@154 202 # This can happen when creating conditional directories.
cannam@154 203 exit 0
cannam@154 204 fi
cannam@154 205
cannam@154 206 if test -z "$dir_arg"; then
cannam@154 207 if test $# -gt 1 || test "$is_target_a_directory" = always; then
cannam@154 208 if test ! -d "$dst_arg"; then
cannam@154 209 echo "$0: $dst_arg: Is not a directory." >&2
cannam@154 210 exit 1
cannam@154 211 fi
cannam@154 212 fi
cannam@154 213 fi
cannam@154 214
cannam@154 215 if test -z "$dir_arg"; then
cannam@154 216 do_exit='(exit $ret); exit $ret'
cannam@154 217 trap "ret=129; $do_exit" 1
cannam@154 218 trap "ret=130; $do_exit" 2
cannam@154 219 trap "ret=141; $do_exit" 13
cannam@154 220 trap "ret=143; $do_exit" 15
cannam@154 221
cannam@154 222 # Set umask so as not to create temps with too-generous modes.
cannam@154 223 # However, 'strip' requires both read and write access to temps.
cannam@154 224 case $mode in
cannam@154 225 # Optimize common cases.
cannam@154 226 *644) cp_umask=133;;
cannam@154 227 *755) cp_umask=22;;
cannam@154 228
cannam@154 229 *[0-7])
cannam@154 230 if test -z "$stripcmd"; then
cannam@154 231 u_plus_rw=
cannam@154 232 else
cannam@154 233 u_plus_rw='% 200'
cannam@154 234 fi
cannam@154 235 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
cannam@154 236 *)
cannam@154 237 if test -z "$stripcmd"; then
cannam@154 238 u_plus_rw=
cannam@154 239 else
cannam@154 240 u_plus_rw=,u+rw
cannam@154 241 fi
cannam@154 242 cp_umask=$mode$u_plus_rw;;
cannam@154 243 esac
cannam@154 244 fi
cannam@154 245
cannam@154 246 for src
cannam@154 247 do
cannam@154 248 # Protect names problematic for 'test' and other utilities.
cannam@154 249 case $src in
cannam@154 250 -* | [=\(\)!]) src=./$src;;
cannam@154 251 esac
cannam@154 252
cannam@154 253 if test -n "$dir_arg"; then
cannam@154 254 dst=$src
cannam@154 255 dstdir=$dst
cannam@154 256 test -d "$dstdir"
cannam@154 257 dstdir_status=$?
cannam@154 258 else
cannam@154 259
cannam@154 260 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
cannam@154 261 # might cause directories to be created, which would be especially bad
cannam@154 262 # if $src (and thus $dsttmp) contains '*'.
cannam@154 263 if test ! -f "$src" && test ! -d "$src"; then
cannam@154 264 echo "$0: $src does not exist." >&2
cannam@154 265 exit 1
cannam@154 266 fi
cannam@154 267
cannam@154 268 if test -z "$dst_arg"; then
cannam@154 269 echo "$0: no destination specified." >&2
cannam@154 270 exit 1
cannam@154 271 fi
cannam@154 272 dst=$dst_arg
cannam@154 273
cannam@154 274 # If destination is a directory, append the input filename; won't work
cannam@154 275 # if double slashes aren't ignored.
cannam@154 276 if test -d "$dst"; then
cannam@154 277 if test "$is_target_a_directory" = never; then
cannam@154 278 echo "$0: $dst_arg: Is a directory" >&2
cannam@154 279 exit 1
cannam@154 280 fi
cannam@154 281 dstdir=$dst
cannam@154 282 dst=$dstdir/`basename "$src"`
cannam@154 283 dstdir_status=0
cannam@154 284 else
cannam@154 285 dstdir=`dirname "$dst"`
cannam@154 286 test -d "$dstdir"
cannam@154 287 dstdir_status=$?
cannam@154 288 fi
cannam@154 289 fi
cannam@154 290
cannam@154 291 obsolete_mkdir_used=false
cannam@154 292
cannam@154 293 if test $dstdir_status != 0; then
cannam@154 294 case $posix_mkdir in
cannam@154 295 '')
cannam@154 296 # Create intermediate dirs using mode 755 as modified by the umask.
cannam@154 297 # This is like FreeBSD 'install' as of 1997-10-28.
cannam@154 298 umask=`umask`
cannam@154 299 case $stripcmd.$umask in
cannam@154 300 # Optimize common cases.
cannam@154 301 *[2367][2367]) mkdir_umask=$umask;;
cannam@154 302 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
cannam@154 303
cannam@154 304 *[0-7])
cannam@154 305 mkdir_umask=`expr $umask + 22 \
cannam@154 306 - $umask % 100 % 40 + $umask % 20 \
cannam@154 307 - $umask % 10 % 4 + $umask % 2
cannam@154 308 `;;
cannam@154 309 *) mkdir_umask=$umask,go-w;;
cannam@154 310 esac
cannam@154 311
cannam@154 312 # With -d, create the new directory with the user-specified mode.
cannam@154 313 # Otherwise, rely on $mkdir_umask.
cannam@154 314 if test -n "$dir_arg"; then
cannam@154 315 mkdir_mode=-m$mode
cannam@154 316 else
cannam@154 317 mkdir_mode=
cannam@154 318 fi
cannam@154 319
cannam@154 320 posix_mkdir=false
cannam@154 321 case $umask in
cannam@154 322 *[123567][0-7][0-7])
cannam@154 323 # POSIX mkdir -p sets u+wx bits regardless of umask, which
cannam@154 324 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
cannam@154 325 ;;
cannam@154 326 *)
cannam@154 327 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
cannam@154 328 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
cannam@154 329
cannam@154 330 if (umask $mkdir_umask &&
cannam@154 331 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
cannam@154 332 then
cannam@154 333 if test -z "$dir_arg" || {
cannam@154 334 # Check for POSIX incompatibilities with -m.
cannam@154 335 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
cannam@154 336 # other-writable bit of parent directory when it shouldn't.
cannam@154 337 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
cannam@154 338 ls_ld_tmpdir=`ls -ld "$tmpdir"`
cannam@154 339 case $ls_ld_tmpdir in
cannam@154 340 d????-?r-*) different_mode=700;;
cannam@154 341 d????-?--*) different_mode=755;;
cannam@154 342 *) false;;
cannam@154 343 esac &&
cannam@154 344 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
cannam@154 345 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
cannam@154 346 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
cannam@154 347 }
cannam@154 348 }
cannam@154 349 then posix_mkdir=:
cannam@154 350 fi
cannam@154 351 rmdir "$tmpdir/d" "$tmpdir"
cannam@154 352 else
cannam@154 353 # Remove any dirs left behind by ancient mkdir implementations.
cannam@154 354 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
cannam@154 355 fi
cannam@154 356 trap '' 0;;
cannam@154 357 esac;;
cannam@154 358 esac
cannam@154 359
cannam@154 360 if
cannam@154 361 $posix_mkdir && (
cannam@154 362 umask $mkdir_umask &&
cannam@154 363 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
cannam@154 364 )
cannam@154 365 then :
cannam@154 366 else
cannam@154 367
cannam@154 368 # The umask is ridiculous, or mkdir does not conform to POSIX,
cannam@154 369 # or it failed possibly due to a race condition. Create the
cannam@154 370 # directory the slow way, step by step, checking for races as we go.
cannam@154 371
cannam@154 372 case $dstdir in
cannam@154 373 /*) prefix='/';;
cannam@154 374 [-=\(\)!]*) prefix='./';;
cannam@154 375 *) prefix='';;
cannam@154 376 esac
cannam@154 377
cannam@154 378 oIFS=$IFS
cannam@154 379 IFS=/
cannam@154 380 set -f
cannam@154 381 set fnord $dstdir
cannam@154 382 shift
cannam@154 383 set +f
cannam@154 384 IFS=$oIFS
cannam@154 385
cannam@154 386 prefixes=
cannam@154 387
cannam@154 388 for d
cannam@154 389 do
cannam@154 390 test X"$d" = X && continue
cannam@154 391
cannam@154 392 prefix=$prefix$d
cannam@154 393 if test -d "$prefix"; then
cannam@154 394 prefixes=
cannam@154 395 else
cannam@154 396 if $posix_mkdir; then
cannam@154 397 (umask=$mkdir_umask &&
cannam@154 398 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
cannam@154 399 # Don't fail if two instances are running concurrently.
cannam@154 400 test -d "$prefix" || exit 1
cannam@154 401 else
cannam@154 402 case $prefix in
cannam@154 403 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
cannam@154 404 *) qprefix=$prefix;;
cannam@154 405 esac
cannam@154 406 prefixes="$prefixes '$qprefix'"
cannam@154 407 fi
cannam@154 408 fi
cannam@154 409 prefix=$prefix/
cannam@154 410 done
cannam@154 411
cannam@154 412 if test -n "$prefixes"; then
cannam@154 413 # Don't fail if two instances are running concurrently.
cannam@154 414 (umask $mkdir_umask &&
cannam@154 415 eval "\$doit_exec \$mkdirprog $prefixes") ||
cannam@154 416 test -d "$dstdir" || exit 1
cannam@154 417 obsolete_mkdir_used=true
cannam@154 418 fi
cannam@154 419 fi
cannam@154 420 fi
cannam@154 421
cannam@154 422 if test -n "$dir_arg"; then
cannam@154 423 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
cannam@154 424 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
cannam@154 425 { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
cannam@154 426 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
cannam@154 427 else
cannam@154 428
cannam@154 429 # Make a couple of temp file names in the proper directory.
cannam@154 430 dsttmp=$dstdir/_inst.$$_
cannam@154 431 rmtmp=$dstdir/_rm.$$_
cannam@154 432
cannam@154 433 # Trap to clean up those temp files at exit.
cannam@154 434 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
cannam@154 435
cannam@154 436 # Copy the file name to the temp name.
cannam@154 437 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
cannam@154 438
cannam@154 439 # and set any options; do chmod last to preserve setuid bits.
cannam@154 440 #
cannam@154 441 # If any of these fail, we abort the whole thing. If we want to
cannam@154 442 # ignore errors from any of these, just make sure not to ignore
cannam@154 443 # errors from the above "$doit $cpprog $src $dsttmp" command.
cannam@154 444 #
cannam@154 445 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
cannam@154 446 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
cannam@154 447 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
cannam@154 448 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
cannam@154 449
cannam@154 450 # If -C, don't bother to copy if it wouldn't change the file.
cannam@154 451 if $copy_on_change &&
cannam@154 452 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
cannam@154 453 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
cannam@154 454 set -f &&
cannam@154 455 set X $old && old=:$2:$4:$5:$6 &&
cannam@154 456 set X $new && new=:$2:$4:$5:$6 &&
cannam@154 457 set +f &&
cannam@154 458 test "$old" = "$new" &&
cannam@154 459 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
cannam@154 460 then
cannam@154 461 rm -f "$dsttmp"
cannam@154 462 else
cannam@154 463 # Rename the file to the real destination.
cannam@154 464 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
cannam@154 465
cannam@154 466 # The rename failed, perhaps because mv can't rename something else
cannam@154 467 # to itself, or perhaps because mv is so ancient that it does not
cannam@154 468 # support -f.
cannam@154 469 {
cannam@154 470 # Now remove or move aside any old file at destination location.
cannam@154 471 # We try this two ways since rm can't unlink itself on some
cannam@154 472 # systems and the destination file might be busy for other
cannam@154 473 # reasons. In this case, the final cleanup might fail but the new
cannam@154 474 # file should still install successfully.
cannam@154 475 {
cannam@154 476 test ! -f "$dst" ||
cannam@154 477 $doit $rmcmd -f "$dst" 2>/dev/null ||
cannam@154 478 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
cannam@154 479 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
cannam@154 480 } ||
cannam@154 481 { echo "$0: cannot unlink or rename $dst" >&2
cannam@154 482 (exit 1); exit 1
cannam@154 483 }
cannam@154 484 } &&
cannam@154 485
cannam@154 486 # Now rename the file to the real destination.
cannam@154 487 $doit $mvcmd "$dsttmp" "$dst"
cannam@154 488 }
cannam@154 489 fi || exit 1
cannam@154 490
cannam@154 491 trap '' 0
cannam@154 492 fi
cannam@154 493 done
cannam@154 494
cannam@154 495 # Local variables:
cannam@154 496 # eval: (add-hook 'write-file-hooks 'time-stamp)
cannam@154 497 # time-stamp-start: "scriptversion="
cannam@154 498 # time-stamp-format: "%:y-%02m-%02d.%02H"
cannam@154 499 # time-stamp-time-zone: "UTC"
cannam@154 500 # time-stamp-end: "; # UTC"
cannam@154 501 # End: