diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2008-01-28 23:03:48 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2008-01-28 23:03:48 +0000 |
commit | 99ea1f0246fb6928078dacb112b6164d9d806017 (patch) | |
tree | 8a0a5f3d044dc086ee475df1ccec8efddd6b6be4 /pkgtools/cdpack | |
parent | 5b2698ccfa8a62a37ef8c1124e7ec0c3ac550738 (diff) | |
download | pkgsrc-99ea1f0246fb6928078dacb112b6164d9d806017.tar.gz |
minor portability fix and minor bug fix (tested for the presence of the wrong file)
Diffstat (limited to 'pkgtools/cdpack')
-rwxr-xr-x | pkgtools/cdpack/files/cdpack.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/cdpack/files/cdpack.sh b/pkgtools/cdpack/files/cdpack.sh index 32b335aba47..4696650f0a7 100755 --- a/pkgtools/cdpack/files/cdpack.sh +++ b/pkgtools/cdpack/files/cdpack.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cdpack.sh,v 1.11 2007/11/28 16:18:01 mishka Exp $ +# $NetBSD: cdpack.sh,v 1.12 2008/01/28 23:03:48 dmcmahill Exp $ # # Copyright (c) 2001, 2002, 2003, 2005 Dan McMahill, All rights reserved. # @@ -595,7 +595,7 @@ do (cd ${cddir}/${cdname} && cp $indexf .index) fi - if [ -f $indexf ]; then + if [ -f $restricted ]; then (cd ${cddir}/${cdname} && cp $restricted .restricted) fi @@ -650,7 +650,7 @@ do echo "mkisofs failed" clean_and_exit fi - cdn=$(($cdn + 1)) + cdn=`${EXPR} $cdn + 1` done echo "ISO Images are available in $cddir" |