Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reverse parameters to add_symlink to model common form of ls invocation

  • Loading branch information...
commit 9c2845066c56c038f3f238a8dcdf931bfacebaea 1 parent b82633a
@falconindy authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  builders/udev
  2. +3 −3 geninit.api
View
2  builders/udev
@@ -19,7 +19,7 @@ build() {
done
# there's much better ways to do module blacklisting
- add_symlink /lib/udev/load-modules.sh /sbin/modprobe
+ add_symlink /sbin/modprobe /lib/udev/load-modules.sh
}
helpmsg() {
View
6 geninit.api
@@ -52,13 +52,13 @@ add_file() { # {{{
add_symlink() { # {{{
# add a symlink
- # $1: name on initcpio
- # $2: target of $1
+ # $1: target of $2
+ # $2: name on initcpio
(( $# == 2 )) || return 1
add_path_to_file "$1"
- __add_slink "$@"
+ __add_slink "$2" "$1"
} # }}}
add_path_to_file() { # {{{
Please sign in to comment.
Something went wrong with that request. Please try again.