Mercurial > hg > aboriginal
view more/alt-patches.sh @ 1541:e4f766efa39f
Sort busybox config entries to group stuff toybox can replace. Also add ps.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 06 Sep 2012 03:44:47 -0500 |
parents | b5095f9eaacf |
children |
line wrap: on
line source
#!/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