summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40fea6c)
raw | patch | inline | side by side (parent: 40fea6c)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Dec 2009 08:10:30 +0000 (08:10 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Dec 2009 08:10:30 +0000 (08:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14853 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/contrib/make-gosa-package | patch | blob | history |
index 58b32206a1d8fa93309f55d4f865a159f9a3bd86..7bad3a804884c98847e94fd3028b4ad2996adc5c 100755 (executable)
MAKE_GOTO=$(echo -n $MAKE_GOTO | sed "s/$i//")
done
- for goto in $MAKE_GOTO; do
- mv "goto-${BNAME}/$goto" .
- done
+ for goto in $MAKE_GOTO; do
+
+ mv "goto-${BNAME}/$goto" .
+
+ echo "Packing original sources '$goto'..."
+ GOTO_VERSION=$(cat $goto/debian/changelog | head -n 1 | sed -n -e 's/.*(\([^-]*\).*/\1/p')
+ tar -c --exclude "$goto/debian" -f "${goto}_${GOTO_VERSION}.orig.tar" $goto
+
+ echo "Compressing sources..."
+ gzip -f -9 "${goto}_${GOTO_VERSION}.orig.tar"
+
+ done
- rm -rf goto-${BNAME}
+ rm -rf goto-${BNAME}
fi
echo "Deploying patches..."