commit | 34c4702bacc6820159b121273e9306ad3f084d31 | [log] [tgz] |
---|---|---|
author | Anthony Young <sleepsonthefloor@gmail.com> | Tue Sep 13 22:14:37 2011 -0700 |
committer | Anthony Young <sleepsonthefloor@gmail.com> | Tue Sep 13 22:14:37 2011 -0700 |
tree | 0749aed0232cba6c27ed7d95c9ad662939aacf82 | |
parent | fe1d95af35143b8c96dd327c604e64ca7ede2851 [diff] [blame] |
add comment
diff --git a/build_lxc.sh b/build_lxc.sh index f7536d4..657dd8a 100755 --- a/build_lxc.sh +++ b/build_lxc.sh
@@ -67,6 +67,7 @@ # stack requires) echo "stack ALL=(ALL) NOPASSWD: ALL" >> $ROOTFS/etc/sudoers +# Gracefully cp only if source file/dir exists function cp_it { if [ -e $1 ] || [ -d $1 ]; then cp -pr $1 $2