commit bash-20040107 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 12:52:47 -05:00
parent d3a24ed242
commit 5e13499c55
522 changed files with 295985 additions and 19526 deletions
+32
View File
@@ -0,0 +1,32 @@
#! /bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/lib:/usr/etc:/etc
PROG=bash
O=root
NEWDIR=$HOME/install
MODE=0755
if [ -f /bsd ]; then
NEWVERS=$NEWDIR/bash.bsd386
DEST=/bin
O=bin
G=bin
elif [ -d /usr/ibm ]; then
NEWVERS=$NEWDIR/bash.ibm032
DEST=/bin
G=staff
else
NEWVERS=$NEWDIR/bash.sun4
DEST=/bin
G=staff
fi
install -c -o ${O} -g ${G} -m ${MODE} -s ${NEWVERS} ${DEST}/${PROG}.new
# swap new and old version; save old version as ${PROG}.old
cd $DEST
rm -f ${PROG}.old
mv ${PROG} ${PROG}.old
mv ${PROG}.new ${PROG}
exit 0