diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-26 12:38:38 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:19:23 +0100 |
commit | c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a (patch) | |
tree | 44a6d3a12cd11067aea2a4d43eb9133cc25bad2f /scripts/build/lb_binary_win32-loader | |
parent | 941a47be0ca3061f54a237583092357d1ff80f7c (diff) | |
download | vyos-live-build-c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a.tar.gz vyos-live-build-c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a.zip |
Adding debian version 3.0~a1-1.
Diffstat (limited to 'scripts/build/lb_binary_win32-loader')
-rwxr-xr-x | scripts/build/lb_binary_win32-loader | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/scripts/build/lb_binary_win32-loader b/scripts/build/lb_binary_win32-loader index 1bc3476a2..d3a8bd8c6 100755 --- a/scripts/build/lb_binary_win32-loader +++ b/scripts/build/lb_binary_win32-loader @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2011 Daniel Baumann <daniel@debian.org> +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> ## ## live-build comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -45,20 +45,10 @@ Create_lockfile .lock case "${LB_ARCHITECTURE}" in amd64|i386) - case "${LB_DISTRIBUTION}" in - lenny) - WIN32_LOADER="/usr/lib/win32-loader" - ;; - - *) - WIN32_LOADER="/usr/share/win32" - ;; - esac - if [ "${LB_BUILD_WITH_CHROOT}" = "true" ] then # Checking depends - Check_package chroot/${WIN32_LOADER}/win32-loader.exe win32-loader + Check_package chroot/usr/share/win32/win32-loader.exe win32-loader # Restoring cache Restore_cache cache/packages_binary @@ -67,9 +57,9 @@ case "${LB_ARCHITECTURE}" in Install_package # Copying win32-loader - cp -r chroot/${WIN32_LOADER}/* binary + cp -r chroot/usr/share/win32/* binary else - cp -r ${WIN32_LOADER}/* binary + cp -r usr/share/win32/* binary fi mv binary/win32-loader.exe binary/setup.exe |