Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Created March 20, 2017 18:13
Show Gist options
  • Save jbergstroem/f6334692aee3c219281d998ba16469a0 to your computer and use it in GitHub Desktop.
Save jbergstroem/f6334692aee3c219281d998ba16469a0 to your computer and use it in GitHub Desktop.
++ cd /Users/jbergstroem/Work/gentoo-bb/dock
++ [[ off == \o\n ]]
++ [[ off == \o\n ]]
++ msg '*** generate build order'
++ echo -e '*** generate build order'
*** generate build order
++ expand_requested_target_ids kubler/busybox
++ __expand_requested_target_ids=
++ local target_ids expanded target image current_ns
++ target_ids=kubler/busybox
++ expanded=
++ [[ local == \s\i\n\g\l\e ]]
++ local is_processed
++ for target in '$target_ids'
++ is_processed=
++ [[ kubler/busybox == *\/* ]]
++ expand_image_id kubler/busybox images/
++ __expand_image_id=
++ local image_id image_type msg_type
++ image_id=kubler/busybox
++ image_type=images/
++ msg_type=image
++ [[ images/ == \b\u\i\l\d\e\r\/ ]]
++ [[ local == \s\i\n\g\l\e ]]
++ __expand_image_id='kubler\/images/busybox'
++ [[ ! -d kubler\/images/busybox ]]
++ die 'Couldn'\''t find image kubler/busybox in /Users/jbergstroem/Work/gentoo-bb/dock'
++ local exit_code
++ exit_code=1
++ [[ '' = \y\e\s ]]
++ echo -e '--#@!> fatal:' 'Couldn'\''t find image kubler/busybox in /Users/jbergstroem/Work/gentoo-bb/dock'
--#@!> fatal: Couldn't find image kubler/busybox in /Users/jbergstroem/Work/gentoo-bb/dock
++ exit 1
@jbergstroem
Copy link
Author

jbergstroem commented Mar 20, 2017

$ pwd
/Users/jbergstroem/Work/gentoo-bb/dock
$ bash
bash-3.2$ [[ -d kubler/images/busybox ]]; echo $?
0
bash-3.2$ [[ -d kubler/images/busybox ]]; echo $?
0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment