[Lunar-commits] r22410 - lunar-iso/trunk/scripts
Auke Kok
sofar at lunar-linux.org
Sat Dec 2 19:47:11 CET 2006
Author: sofar
Date: 2006-12-02 19:47:11 +0100 (Sat, 02 Dec 2006)
New Revision: 22410
Modified:
lunar-iso/trunk/scripts/aaa_base
Log:
bugfix: don't overwrite lunar tarball with lunar-tools tarball due to globbing
Modified: lunar-iso/trunk/scripts/aaa_base
===================================================================
--- lunar-iso/trunk/scripts/aaa_base 2006-12-02 18:14:59 UTC (rev 22409)
+++ lunar-iso/trunk/scripts/aaa_base 2006-12-02 18:47:11 UTC (rev 22410)
@@ -7,8 +7,8 @@
unset VERBOSE
# backup core tools
-echo "+ backing up \"$ISO_LUNAR_MODULE-*-$ISO_BUILD.tar.bz2\""
-cp $ISO_TARGET/var/cache/lunar/$ISO_LUNAR_MODULE-*-$ISO_BUILD.tar.bz2 aaa_base/$ISO_LUNAR_MODULE-$ISO_DATE-$ISO_BUILD.tar.bz2
+echo "+ backing up \"$ISO_LUNAR_MODULE-$(chroot $ISO_TARGET lsh installed_version $ISO_LUNAR_MODULE)-$ISO_BUILD.tar.bz2\""
+cp $ISO_TARGET/var/cache/lunar/$ISO_LUNAR_MODULE-$(chroot $ISO_TARGET lsh installed_version $ISO_LUNAR_MODULE)-$ISO_BUILD.tar.bz2 aaa_base/$ISO_LUNAR_MODULE-$ISO_DATE-$ISO_BUILD.tar.bz2
echo "+ cleaning up (some) file structure items"
rm -f $ISO_TARGET/etc/rc*/*nfslock
More information about the Lunar-commits
mailing list