Mercurial > hg > aboriginal
changeset 1480:b5095f9eaacf
Remove alt-patch symlinks from source control, instead add more/alt-patches.sh to setup alt-package-*.patch symlinks (you can then delete any you don't want).
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 28 Dec 2011 15:58:43 -0600 |
parents | b69933a9a06b |
children | 1e494ad5c7fd |
files | more/alt-patches.sh sources/patches/alt-busybox-usehush.patch sources/patches/alt-linux-arm.patch sources/patches/alt-linux-bootraw.patch sources/patches/alt-linux-fixsh4.patch sources/patches/alt-linux-mips64fix.patch sources/patches/alt-linux-noperl-capflags.patch sources/patches/alt-linux-noperl-headers.patch sources/patches/alt-linux-noperl-timeconst.patch sources/patches/alt-linux-pmacorder.patch |
diffstat | 10 files changed, 21 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/more/alt-patches.sh Wed Dec 28 15:58:43 2011 -0600 @@ -0,0 +1,21 @@ +#!/bin/bash + +# Setup alt-$PACKAGE-*.patch symlinks for a package + +if [ $# -eq 0 ] +then + echo "usage: more/alt-patches.sh PACKAGE" + exit 1 +fi + +# Remove existing symlinks, but keep files + +for i in sources/patches/alt-$1-*.patch +do + [ -L $i ] && rm $i +done + +for i in $(cd sources/patches; ls $1-*.patch) +do + ln -s $i sources/patches/alt-$i +done
--- a/sources/patches/alt-busybox-usehush.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -busybox-usehush.patch \ No newline at end of file
--- a/sources/patches/alt-linux-arm.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -linux-arm.patch \ No newline at end of file
--- a/sources/patches/alt-linux-bootraw.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -linux-bootraw.patch \ No newline at end of file
--- a/sources/patches/alt-linux-fixsh4.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -linux-fixsh4.patch \ No newline at end of file
--- a/sources/patches/alt-linux-mips64fix.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -linux-mips64fix.patch \ No newline at end of file
--- a/sources/patches/alt-linux-noperl-capflags.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -linux-noperl-capflags.patch \ No newline at end of file
--- a/sources/patches/alt-linux-noperl-headers.patch Wed Dec 28 12:57:07 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -linux-noperl-headers.patch \ No newline at end of file