commit bash-20060316 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:05:27 -05:00
parent 97be3d8ed9
commit 28157acd2d
1546 changed files with 713954 additions and 55608 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