Some bug fixes
This commit is contained in:
@@ -31,6 +31,7 @@ XTOPDIR=$XDIR/$TARGET_BRANCH
|
|||||||
find . -maxdepth 1 -type f -name "*.sh" -exec cp {} $XTOPDIR \; >/dev/null
|
find . -maxdepth 1 -type f -name "*.sh" -exec cp {} $XTOPDIR \; >/dev/null
|
||||||
find . -maxdepth 1 -type f -name "*.config" -exec cp {} $XTOPDIR \; >/dev/null
|
find . -maxdepth 1 -type f -name "*.config" -exec cp {} $XTOPDIR \; >/dev/null
|
||||||
find . -maxdepth 1 -type f -name "*.json" -exec cp {} $XTOPDIR \; >/dev/null
|
find . -maxdepth 1 -type f -name "*.json" -exec cp {} $XTOPDIR \; >/dev/null
|
||||||
|
find . -maxdepth 1 -type f -name "*.netports" -exec cp {} $XTOPDIR \; >/dev/null
|
||||||
|
|
||||||
echo "Repository '$TARGET_BRANCH' created!"
|
echo "Repository '$TARGET_BRANCH' created!"
|
||||||
#cd $XTOPDIR
|
#cd $XTOPDIR
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
git reset --hard HEAD
|
git reset --hard HEAD
|
||||||
|
#git revert HEAD~30..HEAD
|
||||||
|
#git reset --hard HEAD
|
||||||
|
|
||||||
git fetch
|
git fetch
|
||||||
[ "$?" != "0" ] && die "Can't fetch current repository"
|
[ "$?" != "0" ] && die "Can't fetch current repository"
|
||||||
@@ -83,6 +85,7 @@ if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$XDIR/luci_dispatcher.sh" ]; then
|
if [ -f "$XDIR/luci_dispatcher.sh" ]; then
|
||||||
|
chmod 755 ./luci_dispatcher.sh
|
||||||
./luci_dispatcher.sh
|
./luci_dispatcher.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user