mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Update ynh-dev: "for FILE in dir/*" is not equivalent to "for FILE in $(ls dir)" ...
This commit is contained in:
parent
f45302e7bc
commit
12e0539655
1 changed files with 3 additions and 3 deletions
6
ynh-dev
6
ynh-dev
|
@ -313,14 +313,14 @@ function use_git()
|
|||
;;
|
||||
yunohost)
|
||||
|
||||
for FILE in /ynh-dev/yunohost/bin/*; do
|
||||
for FILE in $(ls /ynh-dev/yunohost/bin/); do
|
||||
create_sym_link "/ynh-dev/yunohost/bin/$FILE" "/usr/bin/$FILE"
|
||||
done
|
||||
|
||||
for FILE in /ynh-dev/yunohost/conf/metronome/modules/*; do
|
||||
for FILE in $(ls /ynh-dev/yunohost/conf/metronome/modules/); do
|
||||
create_sym_link "/ynh-dev/yunohost/conf/metronome/modules/$FILE" "/usr/lib/metronome/modules/$FILE"
|
||||
done
|
||||
for FILE in /ynh-dev/yunohost/share/*; do
|
||||
for FILE in $(ls /ynh-dev/yunohost/share/); do
|
||||
create_sym_link "/ynh-dev/yunohost/share/$FILE" "/usr/share/yunohost/$FILE"
|
||||
done
|
||||
create_sym_link "/ynh-dev/yunohost/hooks" "/usr/share/yunohost/hooks"
|
||||
|
|
Loading…
Add table
Reference in a new issue