summaryrefslogtreecommitdiff
path: root/bin/unpack-sources
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2012-04-16 17:16:32 +0200
committerPetr Mladek <pmladek@suse.cz>2012-04-16 17:20:04 +0200
commitae9a98b436e7ee9c246b85d8e9bb4ff94732f3b8 (patch)
tree21ce59a250413b5d9d6b03509623840d25b00301 /bin/unpack-sources
parent44092833d3a0f0d6074c64bd0e64bbdf11109afe (diff)
allow to download main source tarballs again
The file "core.ver" was removed in configure together with other "core.*" files. It was ugly name. Better to use "sources.ver" and the variable "lo_sources_ver=..." The source version is not used in "unpack-sources", so do not source the .ver file at all. The source tarballs are put into "major.minor.micro" version subdirectory on the download site now.
Diffstat (limited to 'bin/unpack-sources')
-rwxr-xr-xbin/unpack-sources5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/unpack-sources b/bin/unpack-sources
index 271a5e39f4ee..0fe4499c3197 100755
--- a/bin/unpack-sources
+++ b/bin/unpack-sources
@@ -78,13 +78,12 @@ if ! test -f $start_dir/Repository.mk -a -f $start_dir/solenv/inc/target.mk ; th
exit 1;
fi
-if test ! -f $start_dir/core.ver -o -d $start_dir/.git ; then
- echo "Warning: core sources are from git and not from tarball"
+if test ! -f $start_dir/sources.ver -o -d $start_dir/.git ; then
+ echo "Warning: sources are from git and not from tarball"
echo " Do nothing."
exit 0;
fi
-source $start_dir/bootstrap.ver
lo_src_dir="$start_dir/src"
mkdir -p "$lo_src_dir"