X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=ext%2Fsolaris%2Fsetversion;fp=ext%2Fsolaris%2Fsetversion;h=8829f0efc11c2de4ed00114f360d79432732ec21;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/ext/solaris/setversion b/ext/solaris/setversion new file mode 100755 index 0000000..8829f0e --- /dev/null +++ b/ext/solaris/setversion @@ -0,0 +1,9 @@ +#! /bin/bash + +IN=$1 +OUT=$2 + +SOLARIS_VERSION=`ggrep ^VERSION solaris/pkginfo | cut -d = -f2` + +sed 's/VERSION="none"/VERSION="'"$SOLARIS_VERSION"'"/' $IN > $OUT +chmod 755 $OUT