This commit is contained in:
Mario Fetka 2020-01-22 17:58:29 +01:00
parent 2f7f9258c9
commit a34b1b739f

View File

@ -48,7 +48,7 @@ do
dos2unix $WORK_DIR/${type}/*.txt dos2unix $WORK_DIR/${type}/*.txt
mv $WORK_DIR/${type}/*.txt $WORK_DIR/${app}-${version} mv $WORK_DIR/${type}/*.txt $WORK_DIR/${app}-${version}
pushd $WORK_DIR/${app}-${version}/${type} pushd $WORK_DIR/${app}-${version}/${type}
rpm2cpio $WORK_DIR/${type}/Unified_storcli_all_os/Linux/*.rpm | cpio -idmv rpm2cpio $WORK_DIR/${type}/Linux/*.rpm | cpio -idmv
case "${type}" in case "${type}" in
"amd64" ) "amd64" )
rm -f opt/MegaRAID/storcli/storcli rm -f opt/MegaRAID/storcli/storcli
@ -77,7 +77,7 @@ popd
VER=`cat $WORK_DIR/version.txt` VER=`cat $WORK_DIR/version.txt`
echo "Importing $DIR/../$FILENAME as $VER into git" echo "Importing $DIR/../$FILENAME as $VER into git"
exit 1 #exit 1
cleanup cleanup
gbp import-orig --pristine-tar -u $VER $DIR/../$FILENAME gbp import-orig --pristine-tar -u $VER $DIR/../$FILENAME