patch-2.1.51 linux/arch/ppc/mktar
Next file: linux/arch/ppc/mm/Makefile
Previous file: linux/arch/ppc/mkdist
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Aug 16 09:51:08 1997
- Orig file:
v2.1.50/linux/arch/ppc/mktar
- Orig date:
Mon Aug 4 16:25:36 1997
diff -u --recursive --new-file v2.1.50/linux/arch/ppc/mktar linux/arch/ppc/mktar
@@ -1,7 +1,9 @@
#!/bin/bash
-N=`basename $PWD`
+V=`egrep ^VERSION Makefile | awk '{print $3}'`
+P=`egrep ^PATCHLEVEL Makefile | awk '{print $3}'`
+S=`egrep ^SUBLEVEL Makefile | awk '{print $3}'`
date=`date +'%y%m%d'`
cd ../
mkdir -p dist
-tar -zcf dist/ppc$N-$date.tar.gz -X $N/arch/ppc/ignore $N
+tar -vzcf ppclinux-$V.$P.$S-$date.tar.gz -X linux/arch/ppc/ignore linux
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov