summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-01-18 16:22:36 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-01-18 16:22:36 +0100
commitb6939bf6e772108c6afd8d610d73fc080c495255 (patch)
tree3d4d8595745289e64bedd95cd50643d8f23d27b0
parent786f7d9389ea88c8dafdb2a1d1cd35cc98cc679e (diff)
downloadbin-b6939bf6e772108c6afd8d610d73fc080c495255.tar.gz
bin-b6939bf6e772108c6afd8d610d73fc080c495255.tar.xz
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xgen-perl-pkg13
-rwxr-xr-xqinit2
-rwxr-xr-xsftp-mount.sh2
3 files changed, 9 insertions, 8 deletions
diff --git a/gen-perl-pkg b/gen-perl-pkg
index c63e1c9..f229520 100755
--- a/gen-perl-pkg
+++ b/gen-perl-pkg
@@ -1,10 +1,11 @@
#!/bin/bash
set -e
-pkg=$1
-export MAINTAINER="Florian Pritz <bluewind@xinu.at>"
-target=~/arch/community
+for pkg in "$@"; do
+ export MAINTAINER="Florian Pritz <bluewind@xinu.at>"
+ target=~/arch/community
-genpkg $pkg
-mkdir -p "$target/$pkg/"{trunk,repos}
-cp "~/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/"
+ genpkg $pkg
+ mkdir -p "$target/$pkg/"{trunk,repos}
+ cp "$HOME/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/"
+done
diff --git a/qinit b/qinit
index 5054763..6ca428e 100755
--- a/qinit
+++ b/qinit
@@ -25,7 +25,7 @@ shopt -s nullglob
### Paths ################################
#declare config_root=/mnt/levant/nfs/tmp/Florian/qemu
declare config_root=/mnt/data/qemu
-declare -r machines=$config_root/machines
+declare -r machines=~/.config/qinit-machines
declare isoroot=$config_root
declare imgroot=$config_root
diff --git a/sftp-mount.sh b/sftp-mount.sh
index 9418146..75e8928 100755
--- a/sftp-mount.sh
+++ b/sftp-mount.sh
@@ -7,7 +7,7 @@ for i in "$@"; do
if ! mountpoint -q $mnt; then
mkdir -p $mnt
- sshfs web-$i@karif: $mnt
+ sshfs -o reconnect,kernel_cache web-$i@karif: $mnt
else
fusermount -u $mnt
rmdir $mnt