Changeset 1043 in MondoRescue for trunk/tools/svn2build
- Timestamp:
- Jan 8, 2007, 11:31:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/svn2build
r977 r1043 9 9 dname=`dirname $0` 10 10 prem=`echo $dname |cut -c1` 11 if [ ${prem} =="/" ]; then11 if [ _${prem} = _"/" ]; then 12 12 export TOOLHOME=$dname 13 13 else … … 92 92 elif [ "$dtype" = "ebuild" ]; then 93 93 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild 94 elif [ "$dtype" = "tgz" ]; then 95 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/slack-desc > $dest/distributions/${ddir}-$dver/slack-desc 96 elif [ "$dtype" = "port" ]; then 97 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/Makefile > $dest/distributions/${ddir}-$dver/Makefile 94 98 elif [ "$dtype" = "deb" ]; then 95 99 cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver … … 121 125 exit -1 122 126 fi 127 cd .. 128 fi 129 if [ _"`echo $p | grep 'busybox'`" != _"" ]; then 130 cd $dest 131 mv Rules.mak Rules.mak.orig 132 cat Rules.mak.orig | sed "s/^EXTRAVERSION\([\t ]*\):=/EXTRAVERSION\1:=-$tag-r$REVISION/" > Rules.mak 123 133 cd .. 124 134 fi
Note:
See TracChangeset
for help on using the changeset viewer.