Lines Matching refs:prefix
6 prefix=$1
7 if [ -z "$prefix" ]; then
52 mkdir -p "$prefix/$libdir" || exit 1
54 rm -f "$prefix/$libdir/$i" || exit 1
56 echo " Installing $i to the target at $prefix/$libdir/"
57 cp -pPR "$i" "$prefix/$libdir/" || exit 1
58 chmod 0644 "$prefix/$libdir/`basename $i`" || exit 1
63 if [ x"$cleanup" = x"1" ] && [ -e "$prefix/bin/busybox" ]; then
64 inode=`ls -i "$prefix/bin/busybox" | awk '{print $1}'`
66 cd "$prefix"
79 rm -f "$prefix/bin/busybox" || exit 1
80 mkdir -p "$prefix/bin" || exit 1
81 install -m 755 busybox "$prefix/bin/busybox" || exit 1
86 if [ x"$noclobber" = x"1" ] && ([ -e "$prefix/$i" ] || [ -h "$prefix/$i" ]); then
87 echo " $prefix/$i already exists"
90 mkdir -p "$prefix/$appdir" || exit 1
93 ln $linkopts busybox "$prefix/$i" || exit 1
95 rm -f "$prefix/$i"
96 echo "#!/bin/busybox" >"$prefix/$i"
97 chmod +x "$prefix/$i"
99 echo " $prefix/$i"
103 echo " Copying $sharedlib_dir/$app to $prefix/$i"
104 cp -pPR "$sharedlib_dir/$app" "$prefix/$i" || exit 1
111 bb_path="$prefix/bin/busybox"
132 echo " $prefix/$i -> $bb_path"
133 ln $linkopts "$bb_path" "$prefix/$i" || exit 1