mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 01:06:33 +00:00
Default Helpers: allow link on full directories
This commit is contained in:
parent
0c04d66549
commit
d5beb3623a
@ -321,6 +321,8 @@ link () {
|
|||||||
|
|
||||||
if [ -f "$src" ]; then
|
if [ -f "$src" ]; then
|
||||||
src="$src"
|
src="$src"
|
||||||
|
elif [ -d "$src" ]; then
|
||||||
|
src="$src"
|
||||||
elif [ -f "$cookbook_assets_source" ]; then
|
elif [ -f "$cookbook_assets_source" ]; then
|
||||||
src="$cookbook_assets_source"
|
src="$cookbook_assets_source"
|
||||||
elif [ -f $default_assets_source ]; then
|
elif [ -f $default_assets_source ]; then
|
||||||
@ -347,6 +349,8 @@ try_link () {
|
|||||||
|
|
||||||
if [ -f "$src" ]; then
|
if [ -f "$src" ]; then
|
||||||
src="$src"
|
src="$src"
|
||||||
|
elif [ -d "$src" ]; then
|
||||||
|
src="$src"
|
||||||
elif [ -f "$cookbook_assets_source" ]; then
|
elif [ -f "$cookbook_assets_source" ]; then
|
||||||
src="$cookbook_assets_source"
|
src="$cookbook_assets_source"
|
||||||
elif [ -f $default_assets_source ]; then
|
elif [ -f $default_assets_source ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user