perl-5.22
Last change
on this file since b4abfab was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
741 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | #(C)DatuX 2005 - all rights reserved |
---|
3 | for PAR in $*; do eval "$PAR=1" &>/dev/null; done |
---|
4 | |
---|
5 | rm -r .tmp &>/dev/null |
---|
6 | mkdir .tmp |
---|
7 | |
---|
8 | if ! [ "$1" ]; then |
---|
9 | echo "Usage: $0 <packagename>" |
---|
10 | echo "Rebuildcheck all the packages that depend on <packagename>." |
---|
11 | echo "(that have a #DEP:... in their slackbuild)" |
---|
12 | echo "Use this if you did a major upgrade and changed the .major file of the package." |
---|
13 | exit 1 |
---|
14 | fi |
---|
15 | |
---|
16 | echo "Rebuilding checking all packages that depend on $1..." |
---|
17 | |
---|
18 | #zoek alle slackbuilds |
---|
19 | IFS=" |
---|
20 | " |
---|
21 | for BUILDFILE in `find $DIR -name '*.SlackBuild'|sort -r`; do |
---|
22 | if grep "^#DEP:$1$" $BUILDFILE &>/dev/null; then |
---|
23 | echo "$BUILDFILE depends on $1, checking... "; |
---|
24 | ./rebuildcheck $BUILDFILE "|-" $* || exit 1 |
---|
25 | fi |
---|
26 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.