Skip to content

Commit

Permalink
removing hardoded arch references
Browse files Browse the repository at this point in the history
  • Loading branch information
hypatia2 committed Aug 23, 2015
1 parent 5b7e80a commit a040e24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.tcl
Expand Up @@ -62,7 +62,7 @@ proc build-fruho {os arch} {
if {[file exists /usr/local/bin/fruho.bin]} {
ex sudo mv /usr/local/bin/fruho.bin /tmp/fruho.bin-tmp
}
ex sudo cp build/fruho/linux-x86_64/fruho.bin /usr/local/bin/fruho.bin
ex sudo cp build/fruho/linux-$arch/fruho.bin /usr/local/bin/fruho.bin
}

proc build-fruhod {os arch} {
Expand All @@ -76,7 +76,7 @@ proc build-fruhod {os arch} {
if {[file exists /usr/local/sbin/fruhod.bin]} {
ex sudo mv /usr/local/sbin/fruhod.bin /tmp/fruhod.bin-tmp
}
ex sudo cp build/fruhod/linux-x86_64/fruhod.bin /usr/local/sbin/fruhod.bin
ex sudo cp build/fruhod/linux-$arch/fruhod.bin /usr/local/sbin/fruhod.bin

ex sudo cp fruhod/exclude/etc/init.d/fruhod /etc/init.d/fruhod
#ex sudo service fruhod restart
Expand Down Expand Up @@ -111,8 +111,8 @@ proc build-total {} {
build-fruhod linux $arch_exact
build-deb-rpm $arch_exact
}
puts "Install from dpkg"
ex sudo dpkg -i ./dist/linux-x86_64/fruho_0.4.0_amd64.deb
#puts "Install from dpkg"
#ex sudo dpkg -i ./dist/linux-x86_64/fruho_0.4.0_amd64.deb
#ex ./build/fruho/linux-ix86/fruho.bin
}

Expand Down

0 comments on commit a040e24

Please sign in to comment.