(cosmetics) scripts/install: cosmetics

This commit is contained in:
Stefan Saraev 2015-08-03 15:53:32 +03:00
parent 41b0ef9285
commit 24bee9dfb8

View File

@ -41,10 +41,6 @@ fi
STAMP=$STAMPS_INSTALL/$PACKAGE_NAME/install_$TARGET
mkdir -p $STAMPS_INSTALL/$PACKAGE_NAME
if [ -f $STAMP -a $PKG_DIR/install -nt $STAMP ]; then
rm -f $STAMP
fi
[ -f $STAMP -a $FORCE_INSTALL = "no" ] && exit 0
if [ -n "$PKG_ARCH" -a ! "$PKG_ARCH" = "any" ]; then
@ -130,7 +126,6 @@ if [ "$TARGET" = target ] ; then
mkdir -p $INSTALL/lib/modprobe.d
cp $PKG_DIR/modprobe.d/*.conf $INSTALL/lib/modprobe.d
fi
fi
# unset functions
@ -161,7 +156,4 @@ fi
fi
fi
for i in `sed -n "s/^\([^#].*\)=\".*$/\1/p" $PROJECT_DIR/$PROJECT/options | grep -v "#"`; do
eval val=\$$i
echo "STAMP_$i=\"$val"\" >> $STAMP
done
touch $STAMP