Skip to content

Commit 9d620ad

Browse files
committed
The archiver is called aal now.
--HG-- branch : default-branch
1 parent 4b3c1a2 commit 9d620ad

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

distr/mkdist

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
destdir=
88
srcdir=`pwd`
9-
arch=/usr/local/bin/arch
9+
aal=/usr/local/bin/aal
1010
delete=no
1111
copy="ln"
1212

@@ -36,8 +36,8 @@ while [ "$1" != "" ]; do
3636
copy="ln -s"
3737
;;
3838

39-
-a|--arch)
40-
arch="$2"
39+
-a|--aal)
40+
aal="$2"
4141
shift
4242
;;
4343

@@ -49,7 +49,7 @@ while [ "$1" != "" ]; do
4949
echo " -x --delete Erase the destination directory first."
5050
echo " -c --copy Make physical copies of the files. (default: hardlink)"
5151
echo " -S --symlink Make symbolic links instead of copying or hardlinking."
52-
echo " -a --arch <path> Where the ACK 'arch' tool is."
52+
echo " -a --aal <path> Where the ACK 'aal' tool is."
5353
echo " -h --help Display this message."
5454
exit 0
5555
;;
@@ -110,7 +110,7 @@ process_dir() {
110110
elif [ "$i" = "$archivename" ]; then
111111
# Build the named archive.
112112

113-
$arch cDr `cat LIST`
113+
$aal cDr `cat LIST`
114114
addfile $path/$archivename
115115
else
116116
echo "Don't know what to do with $i, listed in $PWD/.distr."
@@ -123,12 +123,10 @@ process_dir() {
123123

124124
# --- Main program ----------------------------------------------------------
125125

126-
# Test to make sure that $arch points to the right thing.
126+
# Test to make sure that $aal points to the right thing.
127127

128-
if !(strings $arch | grep archiver > /dev/null); then
129-
echo "$arch does not seem to point at the ACK archiver tool."
130-
echo "(Don't confuse this with the Linux tool for displaying your"
131-
echo "architecture.)"
128+
if !(strings $aal | grep archiver > /dev/null); then
129+
echo "$aal does not seem to point at the ACK archiver tool."
132130
echo ""
133131
echo "Press RETURN to go ahead anyway, or CTRL+C to abort."
134132
read ignored

0 commit comments

Comments
 (0)